(Same as the ifconfig change, but in a separate patch since this is in
pending and more likely to have conflicts in landley's tree.)
---
toys/pending/ip.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From f23707df3ab74d00296e400797b6bad7cbf75d97 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Wed, 3 Jan 2024 11:36:57 -0800
Subject: [PATCH] ip: add missing flags.
(Same as the ifconfig change, but in a separate patch since this is in
pending and more likely to have conflicts in landley's tree.)
---
toys/pending/ip.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/toys/pending/ip.c b/toys/pending/ip.c
index 754b7728..e9b5dd0e 100644
--- a/toys/pending/ip.c
+++ b/toys/pending/ip.c
@@ -838,7 +838,9 @@ static int print_link_output(struct linkdata *link)
{"NOARP", IFF_NOARP}, {"PROMISC",IFF_PROMISC},
{"ALLMULTI", IFF_ALLMULTI}, {"MASTER", IFF_MASTER}, {"SLAVE", IFF_SLAVE},
{"MULTICAST", IFF_MULTICAST}, {"PORTSEL", IFF_PORTSEL},
- {"AUTOMEDIA", IFF_AUTOMEDIA}, {"DYNAMIC", IFF_DYNAMIC}, {NULL,-1}};
+ {"AUTOMEDIA", IFF_AUTOMEDIA}, {"DYNAMIC", IFF_DYNAMIC},
+ {"LOWER_UP", IFF_LOWER_UP}, {"DORMANT", IFF_DORMANT},
+ {"ECHO", IFF_ECHO}, {NULL,-1}};
if (link->parent != -1) {
int fd = 0;
--
2.43.0.472.g3155946c3a-goog
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net