diff options
author | Andrea Barberio <insomniac@slackware.it> | 2019-01-28 00:53:04 +0000 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-01-28 11:21:18 +0000 |
commit | 51ac989e85d13beda9cb304fb85e0aff18e9cd98 (patch) | |
tree | 335f5968c0d0c55a5c8e1a65e997a0d331c2210a /dhcpv4/bsdp/bsdp.go | |
parent | 82434691f0602844a2156a4d2037d43c51900b73 (diff) |
dhcpv4: moved client into dhcpv4/client4
Diffstat (limited to 'dhcpv4/bsdp/bsdp.go')
-rw-r--r-- | dhcpv4/bsdp/bsdp.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dhcpv4/bsdp/bsdp.go b/dhcpv4/bsdp/bsdp.go index c9f7c26..df44af9 100644 --- a/dhcpv4/bsdp/bsdp.go +++ b/dhcpv4/bsdp/bsdp.go @@ -6,6 +6,7 @@ import ( "net" "github.com/insomniacslk/dhcp/dhcpv4" + "github.com/insomniacslk/dhcp/dhcpv4/client4" ) // MaxDHCPMessageSize is the size set in DHCP option 57 (DHCP Maximum Message Size). @@ -39,7 +40,7 @@ func ParseBootImageListFromAck(ack *dhcpv4.DHCPv4) ([]BootImage, error) { } func needsReplyPort(replyPort uint16) bool { - return replyPort != 0 && replyPort != dhcpv4.ClientPort + return replyPort != 0 && replyPort != client4.ClientPort } // MessageTypeFromPacket extracts the BSDP message type (LIST, SELECT) from the |