From: Michael Rash Date: Mon, 30 Jan 2006 09:02:45 +0000 (+0000) Subject: fix 'save' (Michael Rash) X-Git-Tag: v1.3.5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0829a2b72caa06c07e6eb710a81a04295c9f2621;p=thirdparty%2Fiptables.git fix 'save' (Michael Rash) --- 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); }