replace spaces with tab, beautify the code
This commit is contained in:
@@ -8,7 +8,7 @@ index 240a9bf57..9f8f37ca7 100644
|
|||||||
CONFIG_BLK_DEV_IO_TRACE=y
|
CONFIG_BLK_DEV_IO_TRACE=y
|
||||||
+CONFIG_NETFILTER_XT_TARGET_FULLCONENAT=y
|
+CONFIG_NETFILTER_XT_TARGET_FULLCONENAT=y
|
||||||
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
|
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
|
||||||
index f17b40211..5af7577fd 100644
|
index f17b40211..99f691a67 100644
|
||||||
--- a/net/ipv4/netfilter/Kconfig
|
--- a/net/ipv4/netfilter/Kconfig
|
||||||
+++ b/net/ipv4/netfilter/Kconfig
|
+++ b/net/ipv4/netfilter/Kconfig
|
||||||
@@ -239,6 +239,15 @@ config IP_NF_TARGET_NETMAP
|
@@ -239,6 +239,15 @@ config IP_NF_TARGET_NETMAP
|
||||||
@@ -28,10 +28,10 @@ index f17b40211..5af7577fd 100644
|
|||||||
tristate "REDIRECT target support"
|
tristate "REDIRECT target support"
|
||||||
depends on NETFILTER_ADVANCED
|
depends on NETFILTER_ADVANCED
|
||||||
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
|
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
|
||||||
index 91efae88e..6fd1c3cfd 100644
|
index 91efae88e..17f5c748a 100644
|
||||||
--- a/net/netfilter/Kconfig
|
--- a/net/netfilter/Kconfig
|
||||||
+++ b/net/netfilter/Kconfig
|
+++ b/net/netfilter/Kconfig
|
||||||
@@ -956,6 +956,15 @@ config NETFILTER_XT_TARGET_NETMAP
|
@@ -956,6 +956,14 @@ config NETFILTER_XT_TARGET_NETMAP
|
||||||
|
|
||||||
To compile it as a module, choose M here. If unsure, say N.
|
To compile it as a module, choose M here. If unsure, say N.
|
||||||
|
|
||||||
@@ -42,13 +42,12 @@ index 91efae88e..6fd1c3cfd 100644
|
|||||||
+ Full Cone NAT
|
+ Full Cone NAT
|
||||||
+
|
+
|
||||||
+ To compile it as a module, choose M here. If unsure, say N.
|
+ To compile it as a module, choose M here. If unsure, say N.
|
||||||
+
|
|
||||||
+
|
+
|
||||||
config NETFILTER_XT_TARGET_NFLOG
|
config NETFILTER_XT_TARGET_NFLOG
|
||||||
tristate '"NFLOG" target support'
|
tristate '"NFLOG" target support'
|
||||||
default m if NETFILTER_ADVANCED=n
|
default m if NETFILTER_ADVANCED=n
|
||||||
diff --git a/net/netfilter/Makefile b/net/netfilter/Makefile
|
diff --git a/net/netfilter/Makefile b/net/netfilter/Makefile
|
||||||
index 4fc075b61..eea8bfd0b 100644
|
index 4fc075b61..2b588d5a5 100644
|
||||||
--- a/net/netfilter/Makefile
|
--- a/net/netfilter/Makefile
|
||||||
+++ b/net/netfilter/Makefile
|
+++ b/net/netfilter/Makefile
|
||||||
@@ -209,3 +209,6 @@ obj-$(CONFIG_IP_SET) += ipset/
|
@@ -209,3 +209,6 @@ obj-$(CONFIG_IP_SET) += ipset/
|
||||||
@@ -56,11 +55,11 @@ index 4fc075b61..eea8bfd0b 100644
|
|||||||
# IPVS
|
# IPVS
|
||||||
obj-$(CONFIG_IP_VS) += ipvs/
|
obj-$(CONFIG_IP_VS) += ipvs/
|
||||||
+
|
+
|
||||||
|
+# Full cone NAT
|
||||||
+obj-$(CONFIG_NETFILTER_XT_TARGET_FULLCONENAT) += xt_FULLCONENAT.o
|
+obj-$(CONFIG_NETFILTER_XT_TARGET_FULLCONENAT) += xt_FULLCONENAT.o
|
||||||
+
|
|
||||||
diff --git a/net/netfilter/xt_FULLCONENAT.c b/net/netfilter/xt_FULLCONENAT.c
|
diff --git a/net/netfilter/xt_FULLCONENAT.c b/net/netfilter/xt_FULLCONENAT.c
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 000000000000..8555b54e2dc6
|
index 000000000..8555b54e2
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/net/netfilter/xt_FULLCONENAT.c
|
+++ b/net/netfilter/xt_FULLCONENAT.c
|
||||||
@@ -0,0 +1,733 @@
|
@@ -0,0 +1,733 @@
|
||||||
|
|||||||
Reference in New Issue
Block a user