From 1bbf34a1df3e16865b3b9330b338952076bc26f9 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 1 Jul 2014 21:26:34 +0200 Subject: DHCPv6 destination address check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/dhcpv6.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dhcpv6.h') 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... -- cgit v1.2.3