diff options
| author | Michael Larson <slioch@slioch.vyatta.com> | 2010-08-26 12:04:19 -0700 |
|---|---|---|
| committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-08-26 12:04:19 -0700 |
| commit | ec93cf04b77bb8da5c731e34843694a61fa0edf6 (patch) | |
| tree | f09ce78d2495cf812e9da992749300fe6a79c04c | |
| parent | d4f38bf206bbdd9ed3158bf2edf7dd3e49c99a0b (diff) | |
| download | vyatta-wanloadbalance-ec93cf04b77bb8da5c731e34843694a61fa0edf6.tar.gz vyatta-wanloadbalance-ec93cf04b77bb8da5c731e34843694a61fa0edf6.zip | |
fix for bug 5990
remove policy route on shutdown.
| -rw-r--r-- | scripts/vyatta-wanloadbalance.pl | 2 | ||||
| -rw-r--r-- | src/lbdecision.cc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index b71860d..0306653 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -268,7 +268,7 @@ sub write_rules { my @eths = $config->listNodes(); if ($#eths < 0 && $exclude eq "false") { - print "WARNING: rule $rule will be inactive because no output interfaces have been defined for this rule\n"; + print "WARNING: rule $rule will be inactive because no (outbound) interfaces have been defined for this rule\n"; } elsif ($#eths >= 0 && $exclude eq "true") { print "WARNING: interfaces (outbound) are not used when exclude has been defined for rule $rule\n"; 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! |
