From 8b7c64d6ba156a99008fcd810cba874c73294333 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Apr 2008 11:48:25 +0200 Subject: Remove old functions, constants --- extensions/libxt_sctp.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_sctp.c') diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c index 2ca15720..653b601b 100644 --- a/extensions/libxt_sctp.c +++ b/extensions/libxt_sctp.c @@ -56,15 +56,14 @@ static void sctp_init(struct xt_entry_match *m) static void sctp_help(void) { printf( -"SCTP match v%s options\n" +"sctp match options\n" " --source-port [!] port[:port] match source port(s)\n" " --sport ...\n" " --destination-port [!] port[:port] match destination port(s)\n" " --dport ...\n" " --chunk-types [!] (all|any|none) (chunktype[:flags])+ match if all, any or none of\n" " chunktypes are present\n" -"chunktypes - DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUTDOWN_ACK ERROR COOKIE_ECHO COOKIE_ACK ECN_ECNE ECN_CWR SHUTDOWN_COMPLETE ASCONF ASCONF_ACK ALL NONE\n", - IPTABLES_VERSION); +"chunktypes - DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUTDOWN_ACK ERROR COOKIE_ECHO COOKIE_ACK ECN_ECNE ECN_CWR SHUTDOWN_COMPLETE ASCONF ASCONF_ACK ALL NONE\n"); } static const struct option sctp_opts[] = { @@ -514,7 +513,7 @@ static void sctp_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match sctp_match = { .name = "sctp", .family = AF_INET, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_sctp_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_sctp_info)), .help = sctp_help, @@ -528,7 +527,7 @@ static struct xtables_match sctp_match = { static struct xtables_match sctp_match6 = { .name = "sctp", .family = AF_INET6, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_sctp_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_sctp_info)), .help = sctp_help, -- cgit v1.2.3