netfilter: change generic l4 protocol number
authorChristoph Paasch <christoph.paasch@student.uclouvain.be>
Wed, 18 Feb 2009 15:28:35 +0000 (16:28 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 18 Feb 2009 15:28:35 +0000 (16:28 +0100)
0 is used by Hop-by-hop header and so this may cause confusion.
255 is stated as 'Reserved' by IANA.

Signed-off-by: Christoph Paasch <christoph.paasch@student.uclouvain.be>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_proto_generic.c

index 4be80d7b87958253f16e86bc550686544e06385d..829374f426c4f95b7852f18cfd14da6bf06e0f3e 100644 (file)
@@ -92,7 +92,7 @@ static struct ctl_table generic_compat_sysctl_table[] = {
 struct nf_conntrack_l4proto nf_conntrack_l4proto_generic __read_mostly =
 {
        .l3proto                = PF_UNSPEC,
-       .l4proto                = 0,
+       .l4proto                = 255,
        .name                   = "unknown",
        .pkt_to_tuple           = generic_pkt_to_tuple,
        .invert_tuple           = generic_invert_tuple,