1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/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
af_link.c
af_nd6.c - Implement loopback probing state in enhanced DAD algorithm. 2015-03-05 21:27:49 +00:00
carp.c
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
iffib.c
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
iflagg.c
ifmac.c
ifmedia.c
ifpfsync.c
ifvlan.c
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