diff options
Diffstat (limited to 'dhcpv6/async/client.go')
-rw-r--r-- | dhcpv6/async/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/async/client.go b/dhcpv6/async/client.go index 08c2cfb..c574208 100644 --- a/dhcpv6/async/client.go +++ b/dhcpv6/async/client.go @@ -45,7 +45,7 @@ func (c *Client) OpenForInterface(ifname string, bufferSize int) error { if err != nil { return err } - c.LocalAddr = &net.UDPAddr{IP: *addr, Port: dhcpv6.DefaultClientPort, Zone: ifname} + c.LocalAddr = &net.UDPAddr{IP: addr, Port: dhcpv6.DefaultClientPort, Zone: ifname} return c.Open(bufferSize) } |