summaryrefslogtreecommitdiffstats
path: root/zebra/if_proc.c
Commit message (Collapse)AuthorAgeFilesLines
* 2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-04-031-1/+1
| | | | | | | | | | | * 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.
* * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.hasso2005-03-071-0/+1
| | | | [backport candidate]
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-201-3/+3
| | | | | * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
* 2003-07-12 Matthias Ferdinand <mferd@sanet.de>paul2003-07-121-1/+2
| | | | | | | * zebra/if_proc.c: zebra does not close the file after reading /proc/net/dev for retrieving interface names and statistics. call fclose(fp) before returning from ifstat_update_proc() or interface_list_proc()
* Initial revisionpaul2002-12-131-0/+246