Skip to content

Commit 24503fe

Browse files
committed
luci-mod-network: Add flag for address_as_local
See openwrt/openwrt#18610 for more information. These pull requests should be merged together. Signed-off-by: Marko Zajc <[email protected]>
1 parent 598b7ca commit 24503fe

File tree

1 file changed

+5
-0
lines changed
  • modules/luci-mod-network/htdocs/luci-static/resources/view/network

1 file changed

+5
-0
lines changed

modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ return view.extend({
323323
o.optional = true;
324324
o.datatype = 'uinteger';
325325
o.placeholder = 150;
326+
327+
o = s.taboption('general', form.Flag, 'address_as_local',
328+
_('Resolve addresses locally'),
329+
_('Never send queries for FQDNs in the Address option to an upstream resolver.'));
330+
o.optional = true;
326331
// End general
327332

328333
// Begin devices

0 commit comments

Comments
 (0)