From 2d01dca3d4e918d0c7d66fab4620050a1c72bca2 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 1 Sep 2000 06:03:12 +0000 Subject: print and save can be NULL. --- extensions/libipt_MIRROR.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'extensions/libipt_MIRROR.c') 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 }; -- cgit v1.2.3