]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
print and save can be NULL.
authorRusty Russell <rusty@linuxcare.com.au>
Fri, 1 Sep 2000 06:03:12 +0000 (06:03 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 1 Sep 2000 06:03:12 +0000 (06:03 +0000)
extensions/libipt_MIRROR.c
extensions/libipt_unclean.c

index fdaa665060ed6a99f2d803a92564ee83c8c0ba6a..b4d9a07c9413781281d6449ffcce27d3126db68a 100644 (file)
@@ -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
 };
 
index c433bc7c83a20ba9d515db669a45cfd6b4c8cad9..b954e368fec28cc48aa1d1cebab449986f49cfe0 100644 (file)
@@ -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
 };