Message ID | 1311785225-23367-1-git-send-email-fw@strlen.de |
---|---|
State | Accepted, archived |
Delegated to: | stephen hemminger |
Headers | show |
diff --git a/tc/tc_filter.c b/tc/tc_filter.c index 919c57c..4e55812 100644 --- a/tc/tc_filter.c +++ b/tc/tc_filter.c @@ -73,7 +73,7 @@ int tc_filter_modify(int cmd, unsigned flags, int argc, char **argv) req.t.tcm_family = AF_UNSPEC; if (cmd == RTM_NEWTFILTER && flags & NLM_F_CREATE) - protocol = ETH_P_ALL; + protocol = htons(ETH_P_ALL); while (argc > 0) { if (strcmp(*argv, "dev") == 0) {