diff options
author | kevin <kworm@missouri-telecom.com> | 2019-11-19 12:09:40 -0600 |
---|---|---|
committer | Chris K <c@chrisko.ch> | 2019-11-20 12:30:56 -0800 |
commit | fce0f6ad223d6760aa7fe19e457d7925aa7c7846 (patch) | |
tree | a1422bf85c5a0b174282ec2dabc4ea3a93a0bf87 | |
parent | 5b35cdba62662ea5f309788a627869b5a46c8e0e (diff) |
Remove dhcpv4 namespace
Signed-off-by: kevin <kworm@missouri-telecom.com>
-rw-r--r-- | dhcpv4/modifiers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/modifiers.go b/dhcpv4/modifiers.go index f076526..2bf79b8 100644 --- a/dhcpv4/modifiers.go +++ b/dhcpv4/modifiers.go @@ -48,7 +48,7 @@ func WithRelayAgentInfo(request *DHCPv4) Modifier { return func(d *DHCPv4) { // If request has Relay Agent Info copy it to the reply if relayOpt := request.RelayAgentInfo(); relayOpt != nil { - d.UpdateOption(dhcpv4.Option{Code: dhcpv4.OptionRelayAgentInformation, Value: relayOpt}) + d.UpdateOption(Option{Code: OptionRelayAgentInformation, Value: relayOpt}) } } } |