Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2024 16:34:03 +0100
From:      Lexi Winter <lexi@le-fay.org>
To:        arch@freebsd.org
Cc:        net@freebsd.org
Subject:   review request: changing the default ifconfig(8) address format to CIDR
Message-ID:  <ZjZVaxzdMehqqci_@ilythia.eden.le-fay.org>

next in thread | raw e-mail | index | archive | help

--atEjnsVICxrcF9zt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi,

i've just submitted this PR:

https://github.com/freebsd/freebsd-src/pull/1216

which contains this commit:

commit 57d273c90ee1c17446236aba25ed0bd291c4f126 (HEAD -> lf/main, hemlock/lf/main)
Author: Lexi Winter <lexi@le-Fay.ORG>
Date:   Sat May 4 16:11:21 2024 +0100

    ifconfig(8): change default IP address format to 'cidr'

    'netmasks' haven't been used in IP networking for decades.  Change the
    default address format for both IPv4 and IPv6 addreses in ifconfig(8) to
    'cidr', which prints addreses in the format most users will be more
    familiar with.

    The previous format is still available using -finet:hex or -finet6:numeric.

imp@ suggested i should ask arch@ and net@ about this, so here i am!

i understand there might be some backward-compat concerns with scripting
here, but it's well past time this change was made, and anyone who
really can't update their scripts can use ifconfig -f or
$IFCONFIG_FORMAT to retain the old behaviour.

--atEjnsVICxrcF9zt
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmY2VWgACgkQDHqbqZ41
x5lJsgv8DYjMU6b/tyS5c4pKQnHQNvo9HuvHxZ5u0wj6ixPDyQl7zavO6VUEniEG
f5vp1JEtYFDpdsBgwY5d8zBMDbJpudohcuEuqIotE6MFefYhDZRoCxewogb0HWXn
V0leN/WcpURxctXppL/uH16Lbt2UL/GGfwX5YJqWqW+zzCWdDD+oyECFqljMhDGN
B5Nqmgx0QvzU+nDUf0poNm2uCZYB5IIoOxbokC6nqD0edhOg3WWZqI4RHagcfAle
bTHzq5ph+Az9b8iIB1N2vrSbWQj8sgoxew2BXbV6jccR4O8J/eqQppONAykqnSHZ
OZennSeHJGLtCvm1BVIavTLoLwCQWkKsizV9k7yskETurg+n8K3qYTnYaAMr/utB
qZ95ZR3xnvzUVjfOtPxKRS9CL41bQHqawGxBTIwAv+hD+s58U+wym87uhUT3xtXy
UBctmped9iTBU7sBBiDbwaJoc0vFSoSEaYnsqkCr0VuloU5lX0CrLubehHqm9KqR
6R4U2LOV
=j6VJ
-----END PGP SIGNATURE-----

--atEjnsVICxrcF9zt--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZjZVaxzdMehqqci_>