summaryrefslogtreecommitdiffhomepage
path: root/dummy/netifd-proto.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-14 02:44:19 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-14 02:44:19 +0200
commitfaa537e2f7bf53a087379adcd3527262491aa575 (patch)
tree0c035aca5c8cda7dfd83efac27f5ccd65fec1d7f /dummy/netifd-proto.sh
parentb9d470a3f42d0a9e12238711e25653276ab157e6 (diff)
proto-shell: for default routes push a string instead of an integer as netmask
Diffstat (limited to 'dummy/netifd-proto.sh')
-rwxr-xr-xdummy/netifd-proto.sh2
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
}