projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
router: add support for router address
[project/odhcpd.git]
/
src
/
odhcpd.h
diff --git
a/src/odhcpd.h
b/src/odhcpd.h
index
b2b38dc
..
2cadccb
100644
(file)
--- 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 ignore;
bool always_rewrite_dns;
bool ra_not_onlink;
+ bool ra_advrouter;
bool no_dynamic_dhcp;
int learn_routes;
bool no_dynamic_dhcp;
int learn_routes;
@@
-147,6
+148,8
@@
struct interface {
// DHCPv4
struct in_addr dhcpv4_start;
struct in_addr dhcpv4_end;
// 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;
struct in_addr *dhcpv4_dns;
size_t dhcpv4_dns_cnt;
uint32_t dhcpv4_leasetime;