summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-12-31 17:06:40 +0100
committerHans Dedecker <dedeckeh@gmail.com>2019-01-01 13:53:34 +0100
commit5e997388ba19e84764601d147ffb3bfb6cc455d1 (patch)
tree3aeb0773bdfb822174332c1ac02c1885cf291513 /src/odhcpd.h
parent1fe77f3f40cbe9227ade848e7c95f6354b2ff409 (diff)
router: make announcing DNS info configurable (FS#2020)
Make announcing options Recursive DNS server and DNS search list configurable via the ra_dns config option. This allows to disable sending RA based DNS info if such info is already provided by DHCPv6. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 80dbb40..10f26b1 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -193,6 +193,7 @@ struct interface {
bool ra_not_onlink;
bool ra_advrouter;
bool ra_useleasetime;
+ bool ra_dns;
bool no_dynamic_dhcp;
uint8_t pio_filter_length;
struct in6_addr pio_filter_addr;