]> err.no Git - linux-2.6/blobdiff - net/sched/sch_dsmark.c
[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization
[linux-2.6] / net / sched / sch_dsmark.c
index 11c8a2119b96aaf353a0d44c883826f30f8f9e2a..0b7c0e82d600deb4b61299119649116ab2ef6716 100644 (file)
@@ -307,7 +307,7 @@ static struct sk_buff *dsmark_dequeue(struct Qdisc *sch)
                        if (p->mask[index] != 0xff || p->value[index])
                                printk(KERN_WARNING "dsmark_dequeue: "
                                       "unsupported protocol %d\n",
-                                      htons(skb->protocol));
+                                      ntohs(skb->protocol));
                        break;
        };