mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-17 19:31:09 +00:00
Don't trust the port in the source address of requests.
At least one client gets it wrong: always send to the client port for clients, and the server port for relays.
This commit is contained in:
1 parent
2a82db4caf
commit
1d0f91c4a9
3 files changed
+35
-15
No files matched your search
+2
-2
@@ -1053,8 +1053,8 @@ void make_duid(time_t now);
|
||||
|
||||
/* rfc3315.c */
|
||||
#ifdef HAVE_DHCP6
|
||||
size_t dhcp6_reply(struct dhcp_context *context, int interface, char *iface_name,
|
||||
struct in6_addr *fallback, size_t sz, int is_multicast, time_t now);
|
||||
unsigned short dhcp6_reply(struct dhcp_context *context, int interface, char *iface_name,
|
||||
struct in6_addr *fallback, size_t sz, int is_multicast, time_t now);
|
||||
#endif
|
||||
|
||||
/* dhcp-common.c */
|
||||
|
||||
Reference in new issue
Block a user