summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/libipt_MIRROR.c18
-rw-r--r--extensions/libipt_unclean.c7
2 files changed, 3 insertions, 22 deletions
diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c
index fdaa6650..b4d9a07c 100644
--- a/extensions/libipt_MIRROR.c
+++ b/extensions/libipt_MIRROR.c
@@ -41,20 +41,6 @@ final_check(unsigned int flags)
{
}
-/* Prints out the targinfo. */
-static void
-print(const struct ipt_ip *ip,
- const struct ipt_entry_target *target,
- int numeric)
-{
-}
-
-/* Saves the union ipt_targinfo in parsable form to stdout. */
-static void
-save(const struct ipt_ip *ip, const struct ipt_entry_target *target)
-{
-}
-
struct iptables_target mirror
= { NULL,
"MIRROR",
@@ -65,8 +51,8 @@ struct iptables_target mirror
&init,
&parse,
&final_check,
- &print,
- &save,
+ NULL, /* print */
+ NULL, /* save */
opts
};
diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c
index c433bc7c..b954e368 100644
--- a/extensions/libipt_unclean.c
+++ b/extensions/libipt_unclean.c
@@ -41,11 +41,6 @@ static void final_check(unsigned int flags)
{
}
-/* Saves the union ipt_matchinfo in parsable form to stdout. */
-static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
-{
-}
-
struct iptables_match unclean
= { NULL,
"unclean",
@@ -57,7 +52,7 @@ struct iptables_match unclean
&parse,
&final_check,
NULL, /* print */
- &save,
+ NULL, /* save */
opts
};