diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-14 02:44:19 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-14 02:44:19 +0200 |
commit | faa537e2f7bf53a087379adcd3527262491aa575 (patch) | |
tree | 0c035aca5c8cda7dfd83efac27f5ccd65fec1d7f /dummy/netifd-proto.sh | |
parent | b9d470a3f42d0a9e12238711e25653276ab157e6 (diff) |
proto-shell: for default routes push a string instead of an integer as netmask
Diffstat (limited to 'dummy/netifd-proto.sh')
-rwxr-xr-x | dummy/netifd-proto.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dummy/netifd-proto.sh b/dummy/netifd-proto.sh index 48b1292..e10f601 100755 --- 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 } |