Merge pull request #30 from insomniacslk/fix_build_constant_moved

Fix build after insomniacslk/dhcp constant moved
This commit is contained in:
Michael Stapelberg 2019-04-29 18:49:26 +02:00 committed by GitHub
commit 0f9027bcfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ func NewClient(cfg ClientConfig) (*Client, error) {
raddr := cfg.RemoteAddr
if raddr == nil {
raddr = &net.UDPAddr{
IP: client6.AllDHCPRelayAgentsAndServers,
IP: dhcpv6.AllDHCPRelayAgentsAndServers,
Port: dhcpv6.DefaultServerPort,
}
}