From: Jo-Philipp Wich Date: Sun, 1 Jul 2012 20:40:02 +0000 (+0000) Subject: protocols/core: fix dhcp defaultroute option X-Git-Tag: 0.11.0~511 X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=82595526229822d243bfc2dc61c160524ac5224c protocols/core: fix dhcp defaultroute option --- diff --git a/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua b/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua index 391eb1e013..8b2596c69b 100644 --- a/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua +++ b/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua @@ -43,7 +43,7 @@ bcast = section:taboption("advanced", Flag, "broadcast", bcast.default = bcast.disabled -defaultroute = section:taboption("advanced", Flag, "gateway", +defaultroute = section:taboption("advanced", Flag, "defaultroute", translate("Use default gateway"), translate("If unchecked, no default route is configured"))