projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: fix shellscript syntax errors/typos
[openwrt/staging/chunkeey.git]
/
package
/
network
/
config
/
gre
/
files
/
gre.sh
diff --git
a/package/network/config/gre/files/gre.sh
b/package/network/config/gre/files/gre.sh
index a6b4ba85f6c762c4d61197aa126fc49d6ee7c71e..e604bfb259a990ad0cfe587449d0c67d8467b0fd 100755
(executable)
--- a/
package/network/config/gre/files/gre.sh
+++ b/
package/network/config/gre/files/gre.sh
@@
-25,7
+25,7
@@
gre_generic_setup() {
json_add_string mode "$mode"
json_add_int mtu "${mtu:-1280}"
[ -n "$df" ] && json_add_boolean df "$df"
json_add_string mode "$mode"
json_add_int mtu "${mtu:-1280}"
[ -n "$df" ] && json_add_boolean df "$df"
- [ -n "ttl" ] && json_add_int ttl "$ttl"
+ [ -n "
$
ttl" ] && json_add_int ttl "$ttl"
[ -n "$tos" ] && json_add_string tos "$tos"
json_add_boolean multicast "$multicast"
json_add_string local "$local"
[ -n "$tos" ] && json_add_string tos "$tos"
json_add_boolean multicast "$multicast"
json_add_string local "$local"