freebsd-src/sbin/ifconfig
Ed Maste e2ad879d4c ifconfig: make interface address without mask an error
In commit d8237b9555, as part of the deprecation of IPv4 address
classes, Mike Karels introduced a warning in ifconfig for setting an
address without a width or mask.  The commit message says "This will
hopefully be an error in the future."

As the warning has been included in releases from FreeBSD 13.1 on, and
sufficient time has passed, turn this into an error.

Reviewed by:	allanjude, olce, grembo, philip, gordon
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45585
2024-06-17 20:21:06 -04:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
af_inet.c ifconfig: make interface address without mask an error 2024-06-17 20:21:06 -04:00
af_inet6.c netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
af_link.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
af_nd6.c Migrate from printb to print_bits for locally defined bit fields. 2024-06-03 11:48:35 -04:00
carp.c carp: support VRRPv3 2024-05-08 13:19:03 +02:00
ifbridge.c ifconfig: add static bridge addresses for vlan 0, not 1 2023-10-15 16:21:53 +02:00
ifclone.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifconfig.8 ifconfig(8): wordsmith -G and -g descriptions 2024-06-06 15:48:39 -06:00
ifconfig.c Migrate from printb to print_bits for locally defined bit fields. 2024-06-03 11:48:35 -04:00
ifconfig.h Move print_bits to ifconfig.c and make available to other src files. 2024-06-03 11:48:35 -04:00
ifconfig_netlink.c Move print_bits to ifconfig.c and make available to other src files. 2024-06-03 11:48:35 -04:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
iffib.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifgif.c Migrate from printb to print_bits for locally defined bit fields. 2024-06-03 11:48:35 -04:00
ifgre.c Migrate from printb to print_bits for locally defined bit fields. 2024-06-03 11:48:35 -04:00
ifgroup.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifieee80211.c ifconfig(8): Fix two typos in source code comments 2024-04-20 14:01:23 +02:00
ifipsec.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
iflagg.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifmac.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifmedia.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifpfsync.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifstf.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvlan.c ifconfig: Redo fix vlan/vlanproto reconfiguration 2024-05-22 00:35:01 +08:00
ifvxlan.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sfp.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00