projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d470a
)
proto-shell: for default routes push a string instead of an integer as netmask
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 14 Oct 2011 00:44:19 +0000
(
02:44
+0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 14 Oct 2011 00:44:19 +0000
(
02:44
+0200)
dummy/netifd-proto.sh
patch
|
blob
|
history
diff --git
a/dummy/netifd-proto.sh
b/dummy/netifd-proto.sh
index 48b12927af6dff6b02230cc38f841c65f3a96bc1..e10f6015f90d00e414e7f6eba7e54ada800a4676 100755
(executable)
--- a/
dummy/netifd-proto.sh
+++ b/
dummy/netifd-proto.sh
@@
-110,7
+110,7
@@
_proto_push_route() {
json_add_table ""
json_add_string target "$target"
- json_add_
integer
mask "$mask"
+ json_add_
string
mask "$mask"
json_add_string gateway "$gw"
json_close_table
}