From: Felix Fietkau Date: Fri, 14 Oct 2011 00:44:19 +0000 (+0200) Subject: proto-shell: for default routes push a string instead of an integer as netmask X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=faa537e2f7bf53a087379adcd3527262491aa575;ds=inline proto-shell: for default routes push a string instead of an integer as netmask --- 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 }