summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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