]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
tc: flower: Fix parsing ip address
authorRoi Dayan <roid@mellanox.com>
Wed, 22 Feb 2017 14:05:01 +0000 (16:05 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 23 Feb 2017 17:01:15 +0000 (09:01 -0800)
Fix order of arguments when passed to __flower_parse_ip_addr.

Fixes: ("f888f4e20534 tc: flower: Support matching ARP")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
tc/f_flower.c

index 6bd03f2b8e4b54e2c27bd58a2a1eea5e8fa904bf..5aac4a0837f406cd9789d424a47558fa5a6f486b 100644 (file)
@@ -289,8 +289,8 @@ static int flower_parse_ip_addr(char *str, __be16 eth_type,
                return -1;
        }
 
-       return __flower_parse_ip_addr(str, family, addr4_type, addr6_type,
-                                     mask4_type, mask6_type, n);
+       return __flower_parse_ip_addr(str, family, addr4_type, mask4_type,
+                                     addr6_type, mask6_type, n);
 }
 
 static bool flower_eth_type_arp(__be16 eth_type)