Re: [PATCH] ifconfig: Support prefix length.

2022-10-25 Thread Simon Josefsson via Bug reports for the GNU Hurd
I have committed this patch here: https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=afe3168ee9f15783c71653bee0ec97536daaf217 Btw, please add NEWS entries next time. I added the following, corrections welcome: https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=976de5463bedcd8060c7

[PATCH] ifconfig: Support prefix length.

2022-09-26 Thread Samuel Thibault
Prefix lengths are much more convenient, support them as an alternative to passing -m separately from -A. * ifconfig/options.c (parse_opt): Detect prefix length, and in such a case, call parse_opt_set_netmask. Index: inetutils-2.3/ifconfig/options.c ===