summaryrefslogtreecommitdiffhomepage
path: root/networking
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-01-22 10:07:50 +0100
commitf50faf84081caa3ce325d2ec69f9dda2520174d9 (patch)
treef4cbe585614e221c495c9abbe113bddc9012c6fb /networking
parent9b313ddcd8c24361b2e8fb4f0f11459436be112f (diff)
ip link: fix mismatched enums in vlan_parse_opt(), closes 11631
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-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,