From 6cd49745931f42cfe2280bf78e483035c3c5e2e6 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 15 Apr 2008 12:01:06 +0000 Subject: [PATCH 08/10] Remove old functions, constants --- extensions/libxt_pkttype.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'extensions/libxt_pkttype.c') diff --git a/extensions/libxt_pkttype.c b/extensions/libxt_pkttype.c index 7c469a8..69c6da8 100644 --- a/extensions/libxt_pkttype.c +++ b/extensions/libxt_pkttype.c @@ -58,9 +58,8 @@ static void print_types(void) static void pkttype_help(void) { printf( -"pkttype v%s options:\n" -" --pkt-type [!] packettype\tmatch packet type\n" -"\n", PKTTYPE_VERSION); +"pkttype match options:\n" +" --pkt-type [!] packettype\tmatch packet type\n"); print_types(); } @@ -149,7 +148,7 @@ static void pkttype_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match pkttype_match = { .family = AF_UNSPEC, .name = "pkttype", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_pkttype_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_pkttype_info)), .help = pkttype_help, -- cgit v1.2.3