tc: flower: Fix parsing ip address

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>
This commit is contained in:
Roi Dayan 2017-02-22 16:05:01 +02:00 committed by Stephen Hemminger
parent 76f7d89d4d
commit 164a9ff401
1 changed files with 2 additions and 2 deletions

View 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)