Skip to content

Commit f3261af

Browse files
kaberdavem330
authored andcommitted
netfilter: Kconfig: default DCCP/SCTP conntrack support to the protocol config values
When conntrack and DCCP/SCTP protocols are enabled, chances are good that people also want DCCP/SCTP conntrack and NAT support. Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ef75d49 commit f3261af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

net/netfilter/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ config NF_CT_PROTO_DCCP
9090
tristate 'DCCP protocol connection tracking support (EXPERIMENTAL)'
9191
depends on EXPERIMENTAL && NF_CONNTRACK
9292
depends on NETFILTER_ADVANCED
93+
default IP_DCCP
9394
help
9495
With this option enabled, the layer 3 independent connection
9596
tracking code will be able to do state tracking on DCCP connections.
@@ -104,6 +105,7 @@ config NF_CT_PROTO_SCTP
104105
tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)'
105106
depends on EXPERIMENTAL && NF_CONNTRACK
106107
depends on NETFILTER_ADVANCED
108+
default IP_SCTP
107109
help
108110
With this option enabled, the layer 3 independent connection
109111
tracking code will be able to do state tracking on SCTP connections.
@@ -532,6 +534,7 @@ config NETFILTER_XT_MATCH_DCCP
532534
tristate '"dccp" protocol match support'
533535
depends on NETFILTER_XTABLES
534536
depends on NETFILTER_ADVANCED
537+
default IP_DCCP
535538
help
536539
With this option enabled, you will be able to use the iptables
537540
`dccp' match in order to match on DCCP source/destination ports
@@ -725,6 +728,7 @@ config NETFILTER_XT_MATCH_SCTP
725728
tristate '"sctp" protocol match support (EXPERIMENTAL)'
726729
depends on NETFILTER_XTABLES && EXPERIMENTAL
727730
depends on NETFILTER_ADVANCED
731+
default IP_SCTP
728732
help
729733
With this option enabled, you will be able to use the
730734
`sctp' match in order to match on SCTP source/destination ports

0 commit comments

Comments
 (0)