bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ifconfig: prefix length handling fixes for -A


From: Erik Auerswald
Subject: [PATCH] ifconfig: prefix length handling fixes for -A
Date: Tue, 23 Apr 2024 23:14:06 +0200

Hi,

while "ifconfig -A" now accepts CIDR notation, it does not reject prefix
length values outside of [0,32].  Also, with a prefix length of 0,
undefined begavior is invoked, and at least on x86_64 a wrong netmask
is computed.

I think the attached patch fixes this.

If it is OK, I can commit the changes.  What do you think?

Br,
Erik

Attachment: 0001-ifconfig-prefix-length-handling-fixes-for-A.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]