diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-07-01 21:26:34 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2014-07-01 21:46:32 +0200 |
commit | 1bbf34a1df3e16865b3b9330b338952076bc26f9 (patch) | |
tree | bb78767e3f84b2683cc20ad00e5a20eaf8eb735d /src/odhcpd.h | |
parent | 4267915aef64aae345972c77148b11759a172b14 (diff) |
DHCPv6 destination address check
As described in RFC3315 §15 any solicit, confirm, rebind or information request message is discarded if the destination address is unicast
Likewise any request (§18.2.1), renew (§18.2.3), release (§18.2.6) or decline (§18.2.7) message is discarded and the server replies with the status code use multicast.
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index dfaec9b..b2b38dc 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -61,7 +61,7 @@ extern struct list_head leases; struct odhcpd_event { struct uloop_fd uloop; void (*handle_dgram)(void *addr, void *data, size_t len, - struct interface *iface); + struct interface *iface, void *dest_addr); }; |