[sudo-commits] sudo changeset 9263:b6b4e4c77e9a
Todd C. Miller
Todd.Miller at courtesan.com
Sun Jan 26 13:23:17 MST 2014
changeset: 9263:b6b4e4c77e9a in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/b6b4e4c77e9a
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Sun Jan 26 13:23:09 2014 -0700
Log Message:
Use inet_aton() instead of inet_addr() as it allows us to distinguish
between the address (or mask 255.255.255.255) and an error. In the
future we may consider switching to inet_pton() for IPv4 too.
diffstat:
configure | 78 +++++++++++++++++++------------------------
configure.ac | 32 ++++++++---------
plugins/sudoers/interfaces.c | 6 +--
plugins/sudoers/match_addr.c | 26 +++++++------
4 files changed, 66 insertions(+), 76 deletions(-)
More information about the sudo-commits
mailing list