summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-12-23 18:14:41 +0000
committerPablo Mazzini <pmazzini@gmail.com>2018-12-23 18:14:41 +0000
commita0237e108316e4edf0302a61f0841d1f7f9e098e (patch)
treeea7dfd0937a6a5233e9f7a5d46c3f434dd101728
parente81cd12b55a01f9bec8325f4a57cbff357570972 (diff)
update error message
-rw-r--r--dhcpv4/ztpv4/ztp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/ztpv4/ztp.go b/dhcpv4/ztpv4/ztp.go
index d8c507a..18075e9 100644
--- a/dhcpv4/ztpv4/ztp.go
+++ b/dhcpv4/ztpv4/ztp.go
@@ -74,5 +74,5 @@ func ParseVendorData(packet *dhcpv4.DHCPv4) (*VendorData, error) {
}
// We didn't match anything.
- return nil, errors.New("failed to parse vendor option data")
+ return nil, errors.New("no known ZTP vendor found")
}