protocols/core: fix dhcp defaultroute option
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Jul 2012 20:40:02 +0000 (20:40 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Jul 2012 20:40:02 +0000 (20:40 +0000)
protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua

index 391eb1e0137318d60b4f5ad4b32f1cd8bcd1c5e8..8b2596c69b53e304e91c838f2dd54822a5275f19 100644 (file)
@@ -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"))