summaryrefslogtreecommitdiff
path: root/src/lbdecision.cc
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-08-26 12:04:19 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-08-26 12:04:19 -0700
commitec93cf04b77bb8da5c731e34843694a61fa0edf6 (patch)
treef09ce78d2495cf812e9da992749300fe6a79c04c /src/lbdecision.cc
parentd4f38bf206bbdd9ed3158bf2edf7dd3e49c99a0b (diff)
downloadvyatta-wanloadbalance-ec93cf04b77bb8da5c731e34843694a61fa0edf6.tar.gz
vyatta-wanloadbalance-ec93cf04b77bb8da5c731e34843694a61fa0edf6.zip
fix for bug 5990
remove policy route on shutdown.
Diffstat (limited to 'src/lbdecision.cc')
-rw-r--r--src/lbdecision.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 0f951a9..288a0ca 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -477,6 +477,7 @@ LBDecision::shutdown(LBData &data)
sprintf(buf,"%d",h_iter->second._interface_index);
execute(string("ip rule del table ") + buf, stdout);
+ execute(string("ip route del table ") + buf, stdout);
//need to delete ip rule here as well!