summaryrefslogtreecommitdiffhomepage
path: root/protocols/core
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-07-01 20:40:02 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-07-01 20:40:02 +0000
commit82595526229822d243bfc2dc61c160524ac5224c (patch)
treedbd7f4797ebe2fa128e2c5bfbab454ca068cdc5c /protocols/core
parent5be59e6ae7a496a695c5dd533b0b48bb172ec821 (diff)
protocols/core: fix dhcp defaultroute option
Diffstat (limited to 'protocols/core')
-rw-r--r--protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua2
1 files changed, 1 insertions, 1 deletions
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 391eb1e01..8b2596c69 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"))