dhcp6: update for breaking upstream changes

see https://github.com/insomniacslk/dhcp/pull/81
This commit is contained in:
Michael Stapelberg 2018-09-05 08:39:35 +02:00
parent 4c4032d469
commit 447f1779e2

View File

@ -89,7 +89,7 @@ func NewClient(cfg ClientConfig) (*Client, error) {
return nil, err
}
laddr = &net.UDPAddr{
IP: *llAddr,
IP: llAddr,
Port: dhcpv6.DefaultClientPort,
// HACK: Zone should ideally be cfg.InterfaceName, but Gos
// ipv6ZoneCache is only updated every 60s, so the addition of the