summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-01-22 10:07:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2019-02-14 14:40:57 +0100
commit7f8f20714aefd4d6c7eaf7da941cdef743983521 (patch)
tree744a72f571c5c86f36993c3d7836609fea82b4c2
parentb65db51ac1e7a3fe90d1b6dddcb3a860e5574984 (diff)
downloadbusybox-7f8f20714aefd4d6c7eaf7da941cdef743983521.tar.gz
ip link: fix mismatched enums in vlan_parse_opt(), closes 11631
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/libiproute/iplink.c2
1 files changed, 1 insertions, 1 deletions
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,