提交 fe2a7ce4 编写于 作者: C Christoph Paasch 提交者: Patrick McHardy

netfilter: change generic l4 protocol number

0 is used by Hop-by-hop header and so this may cause confusion.
255 is stated as 'Reserved' by IANA.
Signed-off-by: NChristoph Paasch <christoph.paasch@student.uclouvain.be>
Signed-off-by: NPatrick McHardy <kaber@trash.net>
上级 ad7bf428
...@@ -92,7 +92,7 @@ static struct ctl_table generic_compat_sysctl_table[] = { ...@@ -92,7 +92,7 @@ static struct ctl_table generic_compat_sysctl_table[] = {
struct nf_conntrack_l4proto nf_conntrack_l4proto_generic __read_mostly = struct nf_conntrack_l4proto nf_conntrack_l4proto_generic __read_mostly =
{ {
.l3proto = PF_UNSPEC, .l3proto = PF_UNSPEC,
.l4proto = 0, .l4proto = 255,
.name = "unknown", .name = "unknown",
.pkt_to_tuple = generic_pkt_to_tuple, .pkt_to_tuple = generic_pkt_to_tuple,
.invert_tuple = generic_invert_tuple, .invert_tuple = generic_invert_tuple,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册