Fix u32 filter for ipv6 priority

This commit is contained in:
shemminger 2006-01-10 18:45:42 +00:00
parent 09954dc61a
commit d8a45819b2
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
2006-01-10 Stephen Hemminger <shemminger@osdl.org>
* Update headers to santized kernel 2.6.15
* Fix ipv6 priority option in u32
2006-01-03 Alpt <alpt@freaknet.org>

View File

@ -495,7 +495,7 @@ static int parse_ip6(int *argc_p, char ***argv_p, struct tc_u32_sel *sel)
}
if (strcmp(*argv, "priority") == 0) {
NEXT_ARG();
res = parse_u8(&argc, &argv, sel, 0, 0);
res = parse_u8(&argc, &argv, sel, 4, 0);
goto done;
}
if (strcmp(*argv, "protocol") == 0) {