diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-04-15 11:48:25 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-15 14:01:06 +0200 |
commit | 8b7c64d6ba156a99008fcd810cba874c73294333 (patch) | |
tree | 47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /extensions/libxt_state.c | |
parent | ddcb288316c942a5b8de33edd5f03318db8906b7 (diff) |
Remove old functions, constants
Diffstat (limited to 'extensions/libxt_state.c')
-rw-r--r-- | extensions/libxt_state.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/libxt_state.c b/extensions/libxt_state.c index 5b8beea1..c37fd700 100644 --- a/extensions/libxt_state.c +++ b/extensions/libxt_state.c @@ -17,10 +17,9 @@ static void state_help(void) { printf( -"state v%s options:\n" +"state match options:\n" " [!] --state [INVALID|ESTABLISHED|NEW|RELATED|UNTRACKED][,...]\n" -" State(s) to match\n" -"\n", IPTABLES_VERSION); +" State(s) to match\n"); } static const struct option state_opts[] = { @@ -145,7 +144,7 @@ static void state_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match state_match = { .family = AF_INET, .name = "state", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_state_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_state_info)), .help = state_help, @@ -159,7 +158,7 @@ static struct xtables_match state_match = { static struct xtables_match state_match6 = { .family = AF_INET6, .name = "state", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_state_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_state_info)), .help = state_help, |