diff options
Diffstat (limited to 'dhcpv4/client.go')
-rw-r--r-- | dhcpv4/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/client.go b/dhcpv4/client.go index 145a7ef..55f303d 100644 --- a/dhcpv4/client.go +++ b/dhcpv4/client.go @@ -75,7 +75,7 @@ func (c *Client) Exchange(ifname string, d *DHCPv4) ([]DHCPv4, error) { if err != nil { return conversation, err } - err = syscall.BindToDevice(fd, ifname) + err = BindToInterface(fd, ifname) if err != nil { return conversation, err } |