From dc4e2405db722b6cc61ec2452080958555ae5554 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 22 Oct 2016 22:16:21 +0100 Subject: [PATCH] Return on cancel --- src/freedombone-controlpanel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 26785439..f98982b7 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -1271,6 +1271,7 @@ function set_dynamic_IP { case $sel in 0) revert_to_dynamic=1 ;; + 1) return;; esac if [ $revert_to_dynamic ]; then @@ -1315,6 +1316,7 @@ Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_ return fi ;; + 1) return;; esac # get the gateway @@ -1330,6 +1332,7 @@ Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_ return fi ;; + 1) return;; esac if [[ "$NEW_STATIC_GATEWAY" == *"."* && "$NEW_STATIC_IP" == *"."* ]]; then