summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorDainis Jonitis <dainis.jonitis@ubnt.com>2019-04-12 13:46:43 +0300
committerHans Dedecker <dedeckeh@gmail.com>2019-05-15 10:57:12 +0200
commit41a74cba1bec349d1e1c5be4442e7fddb2d4adf7 (patch)
treec6366d63948eabae512b225c5f149c9306bcee5a /README
parentc0c8034bc17519c7960f40f6d796b5485cfc4cdb (diff)
config: remove 'ignore' config optionbp
1. Remove 'ignore' config option for interface. Interface is still used if any of 'ra', 'ndp', 'dhcpv4' or 'dhcpv6' options are different from default 'disabled' mode. In config_parse_interface() update runtime ignore value according to all mode values. 2. Reset ignore, ra, ndp, dhcpv4 and dhcpv6 values in set_interface_defaults(). Otherwise if option is deleted from config file and config is reloaded, it will use the value from old config, potentiallly not turning services off. 3. Do not use implicit checks that 0 server mode means MODE_DISABLED. 4. Simplify code of all service setup functions if passed enabled = true argument, but service mode is disabled. Signed-off-by: Dainis Jonitis <dainis.jonitis@ubnt.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 0 insertions, 3 deletions
diff --git a/README b/README
index 49e1c51..a379c4c 100644
--- a/README
+++ b/README
@@ -73,9 +73,6 @@ Option Type Default Description
interface string <name of UCI section> logical OpenWrt interface
ifname string <resolved from logical> physical network interface
networkid string same as ifname compat. alias for ifname
-ignore bool 0 do not serve this interface
- unless overridden by ra, ndp,
- dhcpv4 or dhcpv6 options
master bool 0 is a master interface
for relaying