summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rash <mbr@cipherdyne.org>2006-01-30 09:02:45 +0000
committerHarald Welte <laforge@gnumonks.org>2006-01-30 09:02:45 +0000
commit0829a2b72caa06c07e6eb710a81a04295c9f2621 (patch)
tree1c42278228576a9f9d6e4b99fd3bd55b6d8f4e1d
parent28e5b79eee634792b81bae754a321543cb29539e (diff)
fix 'save' (Michael Rash)
-rw-r--r--extensions/libipt_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_string.c b/extensions/libipt_string.c
index 8fb013ec..5492cfc5 100644
--- a/extensions/libipt_string.c
+++ b/extensions/libipt_string.c
@@ -327,9 +327,9 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
}
printf("--algo %s ", info->algo);
if (info->from_offset != 0)
- printf("--from-offset %u ", info->from_offset);
+ printf("--from %u ", info->from_offset);
if (info->to_offset != 0)
- printf("--to-offset %u ", info->to_offset);
+ printf("--to %u ", info->to_offset);
}