From faa537e2f7bf53a087379adcd3527262491aa575 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 14 Oct 2011 02:44:19 +0200 Subject: [PATCH] proto-shell: for default routes push a string instead of an integer as netmask --- dummy/netifd-proto.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.11.0