]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
fix 'save' (Michael Rash)
authorMichael Rash <mbr@cipherdyne.org>
Mon, 30 Jan 2006 09:02:45 +0000 (09:02 +0000)
committerHarald Welte <laforge@gnumonks.org>
Mon, 30 Jan 2006 09:02:45 +0000 (09:02 +0000)
extensions/libipt_string.c

index 8fb013ec4c722d15ea7a30f41bdbffba4a55c45a..5492cfc54900d8dff21526a8ea21bbdb3173657d 100644 (file)
@@ -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);
 }