X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fodhcpd.h;h=2cadccb253a6e7fb7bad0c91bdc0d2d5dd577512;hp=b2b38dc8d47387dbd693bc22f4f87e6671db9796;hb=f13c624c16a8e3fd30bb47f9ed614c7e2bd6d75e;hpb=837da652ea37cd2f8bbfb6a353057eb53e9b75e0 diff --git a/src/odhcpd.h b/src/odhcpd.h index b2b38dc..2cadccb 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -137,6 +137,7 @@ struct interface { bool ignore; bool always_rewrite_dns; bool ra_not_onlink; + bool ra_advrouter; bool no_dynamic_dhcp; int learn_routes; @@ -147,6 +148,8 @@ struct interface { // DHCPv4 struct in_addr dhcpv4_start; struct in_addr dhcpv4_end; + struct in_addr *dhcpv4_router; + size_t dhcpv4_router_cnt; struct in_addr *dhcpv4_dns; size_t dhcpv4_dns_cnt; uint32_t dhcpv4_leasetime;