aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/vif-nat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/examples/vif-nat')
-rw-r--r--tools/examples/vif-nat4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/examples/vif-nat b/tools/examples/vif-nat
index 0f1cb1c89f..29611654eb 100644
--- a/tools/examples/vif-nat
+++ b/tools/examples/vif-nat
@@ -72,7 +72,7 @@ dotted_quad()
}
-if [ "$ip" == "" ]
+if [ "$ip" = "" ]
then
ip=$(ip_from_dom)
fi
@@ -152,7 +152,7 @@ esac
handle_iptable
log debug "Successful vif-nat $command for $vif."
-if [ "$command" == "online" ]
+if [ "$command" = "online" ]
then
success
fi