summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenys Vlasenko2019-01-22 10:07:50 +0100
committerDenys Vlasenko2019-01-22 10:07:50 +0100
commitf50faf84081caa3ce325d2ec69f9dda2520174d9 (patch)
treef4cbe585614e221c495c9abbe113bddc9012c6fb /networking/libiproute
parent9b313ddcd8c24361b2e8fb4f0f11459436be112f (diff)
downloadbusybox-f50faf84081caa3ce325d2ec69f9dda2520174d9.zip
busybox-f50faf84081caa3ce325d2ec69f9dda2520174d9.tar.gz
ip link: fix mismatched enums in vlan_parse_opt(), closes 11631
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute')
-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 9c164a7..883a1f1 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,