summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-02-14 15:28:25 -0800
committerhagbard <vyosdev@derith.de>2019-02-14 15:28:25 -0800
commit0dad02277c1312b285d067ea180b7aac49bc7026 (patch)
tree929daddb78f316b34eaae41e5ea29a05bda6b623
parentf58d0dd66bba0a47311e5649d2b4af17a016b5e0 (diff)
downloadvyatta-wanloadbalance-0dad02277c1312b285d067ea180b7aac49bc7026.tar.gz
vyatta-wanloadbalance-0dad02277c1312b285d067ea180b7aac49bc7026.zip
Bugfix: T1247 - WAN load-balancing fail when !<x.x.x.x/x> configured in rules
-rw-r--r--debian/changelog6
-rw-r--r--src/lbdecision.cc2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 3eeffd0..f1f25a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vyatta-wanloadbalance (0.13.70+vyos2+current1) unstable; urgency=low
+
+ * T1247: WAN load-balancing fail when !<x.x.x.x/x> configured in rules
+
+ -- hagbard <vyosdev@derith.de> Thu, 14 Feb 2019 15:27:40 -0800
+
vyatta-wanloadbalance (0.13.69+vyos2+current1) unstable; urgency=low
* T258 wan load-balancing on vyos-1.2 permission issue /var/run
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 665b2a2..0e9ad5a 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -687,7 +687,7 @@ LBDecision::get_application_cmd(LBRule &rule, bool local, bool exclude)
}
else {
if (negate_flag) {
- filter += "--destination ! " + tmp + " ";
+ filter += "! --destination " + tmp + " ";
}
else {
filter += "--destination " + tmp + " ";