From 08dbfb691d8e03c7200138d55447fc29916e0362 Mon Sep 17 00:00:00 2001 From: ajs Date: Sun, 3 Apr 2005 03:40:52 +0000 Subject: 2005-04-02 Andrew J. Schorr * if_ioctl.c: (interface_list_ioctl) Use if_get_by_name_len. * if_proc.c: (ifaddr_proc_ipv6) Increase size of ifname buffer to avoid overflow. * kernel_socket.c: (ifan_read) Use if_get_by_name_len. * if.h: Fix comments to reflect that if_lookup_by_name and if_get_by_name now require the argument strings to be NUL-terminated. * if.c: (if_lookup_by_name) Compare using strcmp. (if_get_by_name) Pass strlen(ifname) as 2nd arg to if_create. --- lib/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index f55578e6..6701a90d 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2005-04-02 Andrew J. Schorr + + * if.h: Fix comments to reflect that if_lookup_by_name and + if_get_by_name now require the argument strings to be NUL-terminated. + * if.c: (if_lookup_by_name) Compare using strcmp. + (if_get_by_name) Pass strlen(ifname) as 2nd arg to if_create. + 2005-04-02 Andrew J. Schorr * if.c: (if_nametoindex) The man page is rather vague, but it seems -- cgit v1.2.1