From 278654a9aa89311eb624dc5b79b5b37d99248129 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 4 Oct 2007 16:25:23 +0000 Subject: Delete empty ->print() and ->save() functions Deletes empty ->print() and ->save() functions. ip[6]tables prints the trivial thing automatically. Signed-off-by: Jan Engelhardt --- extensions/libip6t_eui64.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'extensions/libip6t_eui64.c') diff --git a/extensions/libip6t_eui64.c b/extensions/libip6t_eui64.c index f6830d4b..28f8179c 100644 --- a/extensions/libip6t_eui64.c +++ b/extensions/libip6t_eui64.c @@ -32,21 +32,6 @@ parse(int c, char **argv, int invert, unsigned int *flags, return 0; } -/* Prints out the matchinfo. */ -static void -print(const void *ip, - const struct xt_entry_match *match, - int numeric) -{ - printf("eui64 "); -} - -/* Saves the union ip6t_matchinfo in parsable form to stdout. */ -static void save(const void *ip, const struct xt_entry_match *match) -{ - -} - static struct ip6tables_match eui64 = { .name = "eui64", .version = IPTABLES_VERSION, @@ -54,8 +39,6 @@ static struct ip6tables_match eui64 = { .userspacesize = IP6T_ALIGN(sizeof(int)), .help = &help, .parse = &parse, - .print = &print, - .save = &save, }; void _init(void) -- cgit v1.2.3