The sense of the test was wrong.

Bug #6071.
---
 utilities/ovs-ctl.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 4d1ce18..d316adf 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -302,9 +302,9 @@ enable_protocol () {
                 ;;
         esac
     elif (iptables --version) >/dev/null 2>&1; then
-        action "iptables binary not installed, not adding a rule for $name"
-    else
         action "cannot list iptables rules, not adding a rule for $name"
+    else
+        action "iptables binary not installed, not adding a rule for $name"
     fi
 }
 
-- 
1.7.4.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to