summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp/client.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2019-01-28 12:05:54 +0000
committerinsomniac <insomniacslk@users.noreply.github.com>2019-01-28 13:41:06 +0000
commit67c19237d871b0b178216b6dd587a06010a76527 (patch)
treecc29efdaeb9dfc860f9cc2b30200e278d0aea52e /dhcpv4/bsdp/client.go
parent793c0f67c0a9a2b178bfe98223fd2bfc92a115f3 (diff)
update bsdp
Diffstat (limited to 'dhcpv4/bsdp/client.go')
-rw-r--r--dhcpv4/bsdp/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/bsdp/client.go b/dhcpv4/bsdp/client.go
index 173291e..5d0e667 100644
--- a/dhcpv4/bsdp/client.go
+++ b/dhcpv4/bsdp/client.go
@@ -35,7 +35,7 @@ func (c *Client) Exchange(ifname string) ([]*Packet, error) {
}
// INFORM[LIST]
- informList, err := NewInformListForInterface(ifname, client4.ClientPort)
+ informList, err := NewInformListForInterface(ifname, dhcpv4.ClientPort)
if err != nil {
return conversation, err
}
@@ -60,7 +60,7 @@ func (c *Client) Exchange(ifname string) ([]*Packet, error) {
}
// INFORM[SELECT]
- informSelect, err := InformSelectForAck(PacketFor(ackForList), client4.ClientPort, bootImages[0])
+ informSelect, err := InformSelectForAck(PacketFor(ackForList), dhcpv4.ClientPort, bootImages[0])
if err != nil {
return conversation, err
}