diff options
-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 34724e4..cc3a13f 100644 --- a/dhcpv4/client.go +++ b/dhcpv4/client.go @@ -49,7 +49,7 @@ func makeRawBroadcastPacket(payload []byte) ([]byte, error) { // up to four elements, ordered as Discovery, Offer, Request and Acknowledge. // In case of errors, an error is returned, and the list of DHCPv4 objects will // be shorted than 4, containing all the sent and received DHCPv4 messages. -func (c *Client) Exchange(d *DHCPv4, ifname string) ([]DHCPv4, error) { +func (c *Client) Exchange(ifname string, d *DHCPv4) ([]DHCPv4, error) { conversation := make([]DHCPv4, 1) var err error |