summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv6.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2014-07-01 21:26:34 +0200
committerHans Dedecker <dedeckeh@gmail.com>2014-07-01 21:46:32 +0200
commit1bbf34a1df3e16865b3b9330b338952076bc26f9 (patch)
treebb78767e3f84b2683cc20ad00e5a20eaf8eb735d /src/dhcpv6.h
parent4267915aef64aae345972c77148b11759a172b14 (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/dhcpv6.h')
-rw-r--r--src/dhcpv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpv6.h b/src/dhcpv6.h
index dbde88a..e892884 100644
--- a/src/dhcpv6.h
+++ b/src/dhcpv6.h
@@ -69,6 +69,7 @@
#define DHCPV6_STATUS_NOADDRSAVAIL 2
#define DHCPV6_STATUS_NOBINDING 3
#define DHCPV6_STATUS_NOTONLINK 4
+#define DHCPV6_STATUS_USEMULTICAST 5
#define DHCPV6_STATUS_NOPREFIXAVAIL 6
// I just remembered I have an old one lying around...