diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-12-07 17:37:42 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2018-12-08 07:51:34 +0300 |
commit | 0f2f775d644c4cd9007b5816c2cfa9e8d933ef6d (patch) | |
tree | c487c625a8ce15b18c04c7936bfabd16efaa3f06 /crypto/des.c | |
parent | 7bbe2a6d695dfffd52cae09b03af246329f96458 (diff) | |
download | accel-ppp-0f2f775d644c4cd9007b5816c2cfa9e8d933ef6d.tar.gz accel-ppp-0f2f775d644c4cd9007b5816c2cfa9e8d933ef6d.zip |
utils: rework u_parse_ip4addr()
Redefine u_parse_ip4addr() to match the behaviour of other u_parse_*()
functions:
* Drop the err_msg parameter.
* Return the number of bytes parsed instead of an error number.
* Remove support for fancy IPv4 address notations.
There is currently only one user of u_parse_ip4addr() (in iprange.c).
Dropping the fancy IPv4 address representations is probably not going
to harm anyone (quite the opposite as many users don't realise that
leading 0 means octal and that plain integers can be considered IPv4
addresses).
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'crypto/des.c')
0 files changed, 0 insertions, 0 deletions