summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorLutz Pre├čler <lp@sernet.de>2003-03-04 14:50:50 +0000
committerHarald Welte <laforge@gnumonks.org>2003-03-04 14:50:50 +0000
commitd0ae04e7ee969882f6558f2ef8bca89a2d226e62 (patch)
tree433e493c845b2a043824745fb0d5953345e786dc /extensions
parent9230c11493abb0622f3df5f1cd6ccacbbf40cef3 (diff)
fix listing of conntrack match (lp@sernet.se) (Closes: #60)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libipt_conntrack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_conntrack.c b/extensions/libipt_conntrack.c
index 0cf07654..3f322d01 100644
--- a/extensions/libipt_conntrack.c
+++ b/extensions/libipt_conntrack.c
@@ -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,