diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lbdecision.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc index 616f243..9bf56cf 100644 --- a/src/lbdecision.cc +++ b/src/lbdecision.cc @@ -144,7 +144,7 @@ if so then this stuff goes here! sprintf(hex_buf,"%X",ct); execute(string("ip rule add fwmark ") + hex_buf + " table " + buf, stdout); - execute(string("iptables -t nat -A WANLOADBALANCE -m CONNMARK --mark ") + buf + " -j SNAT --to-source " + fetch_iface_addr(iface), stdout); + execute(string("iptables -t nat -A WANLOADBALANCE -m connmark --mark ") + buf + " -j SNAT --to-source " + fetch_iface_addr(iface), stdout); ++ct; ++iter; |
