summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/async
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@unverle.fr>2019-10-15 10:16:05 +0200
committerAnatole Denis <natolumin@unverle.fr>2019-10-15 11:19:43 +0200
commit486c8612a71ba5e1f251fbbbf08a91e3d8f77bfa (patch)
treec139f883153fe0d47502f94789eea7a5619202f4 /dhcpv4/async
parent7cac2b06400c7608c0552462bc34f1856917b12e (diff)
server4: Respect listen address
NewIPv4UDPConn doesn't support listening on a specific address, only on the wildcard address. This extends it to allow listening on an address, and at the same time homogenizes the function signature with the NewIPv6UDPConn server6 equivalent. It modifies NewServer() to pass the full address given to it instead of just the port as well Note that listening on a non-wildcard interface is seldom useful as the socket won't receive broadcasts, so it is useless in a direct-attached server. It can be useful in a server only used behind relays This breaks API compatibility for NewIPv4UDPConn, which as far as I know nobody uses (yet) Signed-off-by: Anatole Denis <natolumin@unverle.fr>
Diffstat (limited to 'dhcpv4/async')
0 files changed, 0 insertions, 0 deletions