[git commit] ip link: fix mismatched enums in vlan_parse_opt(), closes 11631

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 22 09:07:50 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=f50faf84081caa3ce325d2ec69f9dda2520174d9
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/libiproute/iplink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 9c164a71d..883a1f14a 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -490,11 +490,11 @@ static void vlan_parse_opt(char **argv, struct nlmsghdr *n, unsigned int size)
 	;
 	enum {
 		ARG_id = 0,
+		ARG_protocol,
 		ARG_reorder_hdr,
 		ARG_gvrp,
 		ARG_mvrp,
 		ARG_loose_binding,
-		ARG_protocol,
 	};
 	enum {
 		PROTO_8021Q = 0,


More information about the busybox-cvs mailing list