summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-11-11 20:55:54 +0000
committerPablo Mazzini <pmazzini@gmail.com>2018-11-11 20:55:54 +0000
commit190b8db21355bbb3d28f875ba2063143bd51f27c (patch)
treeabb2525fc1a4ea5cb7e7601ea378deed7ecb0486
parentd1b2960b7b2d4d43374def6488faf96b7d4cb5dc (diff)
OptRelayAgentInformation: fix comment
-rw-r--r--dhcpv4/option_relay_agent_information.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/option_relay_agent_information.go b/dhcpv4/option_relay_agent_information.go
index 844c4bc..75bbef0 100644
--- a/dhcpv4/option_relay_agent_information.go
+++ b/dhcpv4/option_relay_agent_information.go
@@ -11,8 +11,8 @@ type OptRelayAgentInformation struct {
Options []Option
}
-// Parse returns a new OptRelayAgentInformation from a byte stream, or error if
-// any.
+// ParseOptRelayAgentInformation returns a new OptRelayAgentInformation from a
+// byte stream, or error if any.
func ParseOptRelayAgentInformation(data []byte) (*OptRelayAgentInformation, error) {
if len(data) < 4 {
return nil, ErrShortByteStream