freebsd-nq/sbin/ifconfig
Andrew Thompson 265e8a9acc Fix the module name matching to the drivers present in the kernel. Previously
it would return true on a partial match where it would think the edsc module
was already present by having a positive match on 'ed'.  This changes it so
that it compares the full string including the nul terminators.

This also fixes a buffer overflow in the ifkind variable where the length of
the interface name in *argv wasnt checked for size.

Reviewed by:	brooks
Approved by:	re (gnn)
2007-10-04 09:45:41 +00:00
..
af_atalk.c use getifaddrs from libc instead of private code 2007-02-24 23:55:46 +00:00
af_inet6.c use getifaddrs from libc instead of private code 2007-02-24 23:55:46 +00:00
af_inet.c use getifaddrs from libc instead of private code 2007-02-24 23:55:46 +00:00
af_ipx.c Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion of 2007-06-13 18:07:59 +00:00
af_link.c use getifaddrs from libc instead of private code 2007-02-24 23:55:46 +00:00
ifbridge.c Add a bridge interface flag called PRIVATE where any private port can not 2007-08-01 00:33:52 +00:00
ifcarp.c Use afswch->af_other_status for carp_status() and pfsync_status(). 2005-02-22 14:07:47 +00:00
ifclone.c Restore the "plumb" compatibility command, which was lost 2006-08-12 18:07:17 +00:00
ifconfig.8 Add a bridge interface flag called PRIVATE where any private port can not 2007-08-01 00:33:52 +00:00
ifconfig.c Fix the module name matching to the drivers present in the kernel. Previously 2007-10-04 09:45:41 +00:00
ifconfig.h Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion of 2007-06-13 18:07:59 +00:00
ifgroup.c correct type definition of option routine callback 2007-02-17 18:22:20 +00:00
ifieee80211.c Reset the pointer to the ioctl buffer after it gets changed. 2007-06-12 00:52:40 +00:00
iflagg.c Allow the LACP state to be queried from userland which at the moment is the 2007-07-05 09:18:57 +00:00
ifmac.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifmedia.c Update for revised 802.11 support: 2007-06-11 03:56:33 +00:00
ifpfsync.c Print pfsync interface status if either syncpeer or syncdev is configured. 2006-06-06 11:21:08 +00:00
ifvlan.c o replace special handling of clone operations by a clone callback 2006-07-09 06:10:23 +00:00
Makefile Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking. 2007-04-17 00:35:11 +00:00