freebsd-skq/sbin/ifconfig
John Baldwin 07bf9879f3 Simplify string mangling in ifmaybeload().
- Use strlcpy() instead of strcpy().
- Use strlcat() instead of a strlcpy() with a magic number subtracted
  from the length.
- Replace strncmp(..., strlen(foo) + 1) with strcmp(...).

Differential Revision:	https://reviews.freebsd.org/D1814
Reviewed by:	rpaulo
MFC after:	2 weeks
2015-03-13 09:45:06 +00:00
..
tests Integrate sbin/ifconfig/tests from NetBSD into atf/kyua 2015-01-04 22:25:16 +00:00
af_inet6.c - Implement loopback probing state in enhanced DAD algorithm. 2015-03-05 21:27:49 +00:00
af_inet.c Since size of struct in_aliasreq has just been changed in r228571, 2011-12-16 13:30:17 +00:00
af_link.c Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but 2010-08-06 15:09:21 +00:00
af_nd6.c - Implement loopback probing state in enhanced DAD algorithm. 2015-03-05 21:27:49 +00:00
carp.c Rename ifcarp.c to carp.c 2011-12-16 14:30:58 +00:00
ifbridge.c
ifclone.c
ifconfig.8 - Implement loopback probing state in enhanced DAD algorithm. 2015-03-05 21:27:49 +00:00
ifconfig.c Simplify string mangling in ifmaybeload(). 2015-03-13 09:45:06 +00:00
ifconfig.h Add DEF_CLONE_CMD_ARG2 2014-09-14 22:10:35 +00:00
iffib.c Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
ifgif.c
ifgre.c Overhaul if_gre(4). 2014-11-07 19:13:19 +00:00
ifgroup.c Expose groups by default in ifconfig output. This was never hidden by 2014-11-19 13:57:39 +00:00
ifieee80211.c Mark a mesh path to a mesh gate with a 'G'. 2013-02-07 21:23:03 +00:00
iflagg.c Use printb() for boolean flags in ro_opts and actor_state for LACP. 2014-10-05 02:37:01 +00:00
ifmac.c
ifmedia.c When setting media always and not just in case of switching to IFM_AUTO 2011-05-15 12:51:00 +00:00
ifpfsync.c Make it possible to switch pfsync(4) deferral mechanism on/off. 2012-04-03 18:10:48 +00:00
ifvlan.c Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum 2011-12-17 15:44:34 +00:00
ifvxlan.c Prefix all the vxlan ifconfig commands so they are unique 2014-12-17 05:36:34 +00:00
Makefile Integrate sbin/ifconfig/tests from NetBSD into atf/kyua 2015-01-04 22:25:16 +00:00
regdomain.c
regdomain.h
sfp.c Show SFP+/QSFP memory map dump on higher verbose levels. 2014-10-23 11:01:49 +00:00