diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2016-02-25 15:36:40 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2016-02-25 15:46:55 +0200 |
commit | 8eb7b6a595752b1ef1029717444bd4edccf878a8 (patch) | |
tree | 9b7a3b8061b8a2cd9a52eab9b48c263b15ba77c3 /src/activate | |
parent | 96b08d65a12c304c59febbc52bc871753f0c6f31 (diff) |
sd-dhcp-server: Send replies to BOOTP relay server port
RFC 2131 Section 4.1 says that
"If the ’giaddr’ field in a DHCP message from a client is non-zero,
the server sends any return messages to the ’DHCP server’ port on the
BOOTP relay agent whose address appears in ’giaddr’."
Fix this by adding a destination port when sending unicast UDP packets
and provide the server port when a BOOTP relay agent is being used.
Diffstat (limited to 'src/activate')
0 files changed, 0 insertions, 0 deletions