summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorajs <ajs>2005-04-03 03:40:52 +0000
committerajs <ajs>2005-04-03 03:40:52 +0000
commit08dbfb691d8e03c7200138d55447fc29916e0362 (patch)
tree54d8718c7bdb035197cebcedef7d3de4f0038d55 /lib/ChangeLog
parente4319de388b748ba66551f33fecdf7446e754b80 (diff)
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* 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.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index f55578e6..6701a90d 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,12 @@
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+ * 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 <ajschorr@alumni.princeton.edu>
+
* if.c: (if_nametoindex) The man page is rather vague, but it seems
like the argument to if_nametoindex has an implicit maximum length
of IFNAMSIZ characters.