From eb53f68522f9bcf0a1c20553598e7ab945075655 Mon Sep 17 00:00:00 2001 From: Ferry Huberts Date: Thu, 5 Nov 2015 16:08:52 +0100 Subject: [PATCH] sgw: policy script: minor improvement Signed-off-by: Ferry Huberts --- files/sgw_policy_routing_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/sgw_policy_routing_setup.sh b/files/sgw_policy_routing_setup.sh index 1d654eb5..7fbbc442 100755 --- a/files/sgw_policy_routing_setup.sh +++ b/files/sgw_policy_routing_setup.sh @@ -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 -- 2.20.1