[Toybox] [PATCH] ifconfig: add missing flags.

enh enh at google.com
Wed Jan 3 11:34:36 PST 2024


I haven't seen these in the wild, but happened to be dealing with the
corresponding header file and realized they were missing here.

IFF_LOWER_UP and IFF_DORMANT were added in Linux 2.6.17, and IFF_ECHO
in Linux 2.6.25.

(I haven't done anything about the missing bounds check here, nor trying
to show any unknown flags in hex or anything.)
---
 toys/net/ifconfig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ifconfig-add-missing-flags.patch
Type: text/x-patch
Size: 1235 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240103/c4217fa0/attachment.bin>


More information about the Toybox mailing list