protocols/core: fix dhcp defaultroute option
[project/luci.git] / protocols / core / luasrc / model / cbi / admin_network / proto_dhcp.lua
index 391eb1e..8b2596c 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"))