sgw: policy script: minor improvement
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 5 Nov 2015 15:08:52 +0000 (16:08 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 5 Nov 2015 15:53:59 +0000 (16:53 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
files/sgw_policy_routing_setup.sh

index 1d654eb..7fbbc44 100755 (executable)
@@ -153,10 +153,10 @@ if [ $argc -lt 3 ]; then
 fi
 
 # get first 3 arguments
-declare ipVersion=$1
 declare mode="$2"
 declare addMode="$3"
 shift 3
+declare ipVersion="$1"
 argc=$#
 
 # check IP version argument