summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_relay_agent_information.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_relay_agent_information.go')
-rw-r--r--dhcpv4/option_relay_agent_information.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_relay_agent_information.go b/dhcpv4/option_relay_agent_information.go
index d3fac80..4b93bdd 100644
--- a/dhcpv4/option_relay_agent_information.go
+++ b/dhcpv4/option_relay_agent_information.go
@@ -18,7 +18,7 @@ type OptRelayAgentInformation struct {
// ParseOptRelayAgentInformation returns a new OptRelayAgentInformation from a
// byte stream, or error if any.
func ParseOptRelayAgentInformation(data []byte) (*OptRelayAgentInformation, error) {
- options, err := OptionsFromBytesWithParser(data, ParseOptionGeneric, false /* don't check for OptionEnd tag */)
+ options, err := OptionsFromBytesWithParser(data, codeGetter, ParseOptionGeneric, false /* don't check for OptionEnd tag */)
if err != nil {
return nil, err
}