Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c213fd
)
sgw: policy script: minor improvement
author
Ferry Huberts
<ferry.huberts@pelagic.nl>
Thu, 5 Nov 2015 15:08:52 +0000
(16:08 +0100)
committer
Ferry 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
patch
|
blob
|
history
diff --git
a/files/sgw_policy_routing_setup.sh
b/files/sgw_policy_routing_setup.sh
index
1d654eb
..
7fbbc44
100755
(executable)
--- 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