]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
fix listing of conntrack match (lp@sernet.se) (Closes: #60)
authorLutz Preßler <lp@sernet.de>
Tue, 4 Mar 2003 14:50:50 +0000 (14:50 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 4 Mar 2003 14:50:50 +0000 (14:50 +0000)
extensions/libipt_conntrack.c

index 0cf07654d49251bd3a8936543dae56cc1475ca8b..3f322d0125e67fd281c6809c4b438af4c3b584bd 100644 (file)
@@ -434,7 +434,7 @@ matchinfo_print(const struct ipt_ip *ip, const struct ipt_entry_match *match, in
        }
 
        if(sinfo->flags & IPT_CONNTRACK_REPLSRC) {
-               printf("%sctorigsrc ", optpfx);
+               printf("%sctreplsrc ", optpfx);
 
                print_addr(
                    (struct in_addr *)&sinfo->tuple[IP_CT_DIR_REPLY].src.ip,
@@ -444,7 +444,7 @@ matchinfo_print(const struct ipt_ip *ip, const struct ipt_entry_match *match, in
        }
 
        if(sinfo->flags & IPT_CONNTRACK_REPLDST) {
-               printf("%sctorigdst ", optpfx);
+               printf("%sctrepldst ", optpfx);
 
                print_addr(
                    (struct in_addr *)&sinfo->tuple[IP_CT_DIR_REPLY].dst.ip,