Fix packet validation in DHCPv6.

Some messages must be sent as multicast.
This commit is contained in:
Simon Kelley committed 2025-07-22 20:43:52 +01:00
1 parent dfcef19fb4
commit 3ceea9e755
3 files changed
+34 -21

No files matched your search

+1 -1
View File
@@ -1801,7 +1801,7 @@ void get_client_mac(struct in6_addr *client, int iface, unsigned char *mac,
/* rfc3315.c */
#ifdef HAVE_DHCP6
unsigned short dhcp6_reply(struct dhcp_context *context, int interface, char *iface_name,
unsigned short dhcp6_reply(struct dhcp_context *context, int multicast_dest, int interface, char *iface_name,
struct in6_addr *fallback, struct in6_addr *ll_addr, struct in6_addr *ula_addr,
size_t sz, struct in6_addr *client_addr, time_t now);
int relay_upstream6(int iface_index, ssize_t sz, struct in6_addr *peer_address,