summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp/bsdp.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/bsdp.go
parent793c0f67c0a9a2b178bfe98223fd2bfc92a115f3 (diff)
update bsdp
Diffstat (limited to 'dhcpv4/bsdp/bsdp.go')
-rw-r--r--dhcpv4/bsdp/bsdp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/bsdp/bsdp.go b/dhcpv4/bsdp/bsdp.go
index df44af9..441893e 100644
--- a/dhcpv4/bsdp/bsdp.go
+++ b/dhcpv4/bsdp/bsdp.go
@@ -40,7 +40,7 @@ func ParseBootImageListFromAck(ack *dhcpv4.DHCPv4) ([]BootImage, error) {
}
func needsReplyPort(replyPort uint16) bool {
- return replyPort != 0 && replyPort != client4.ClientPort
+ return replyPort != 0 && replyPort != dhcpv4.ClientPort
}
// MessageTypeFromPacket extracts the BSDP message type (LIST, SELECT) from the