summaryrefslogtreecommitdiff
path: root/src/lbdecision.cc
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-12 21:16:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-12 21:16:22 +0200
commitab841d3588c88e0e8ef86693471281badce92a9f (patch)
tree8219377087325b06abbe07ecda11f515200d5ec9 /src/lbdecision.cc
parenta07ff0a587755179b0fa00b8d8bc1700e8425c4e (diff)
downloadvyatta-wanloadbalance-ab841d3588c88e0e8ef86693471281badce92a9f.tar.gz
vyatta-wanloadbalance-ab841d3588c88e0e8ef86693471281badce92a9f.zip
T2696: collection of small fixes to increase stability
- Error on exit when clear routing tables - Possible crash (buffer overflow) in function for receive icmp echo packet - Error in parsing of config file for udp ttl "probe" - Wrong error messge in analyzing config file
Diffstat (limited to 'src/lbdecision.cc')
-rw-r--r--src/lbdecision.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 0e9ad5a..989f925 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -488,7 +488,7 @@ LBDecision::shutdown(LBData &data)
sprintf(buf,"%d",h_iter->second._interface_index + IPT_MARK_OFFSET);
execute(string("ip rule del table ") + buf, stdout);
- execute(string("ip route del table ") + buf, stdout);
+ execute(string("ip route flush table ") + buf, stdout);
//need to delete ip rule here as well!