summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkevin <kworm@missouri-telecom.com>2019-11-19 12:09:40 -0600
committerChris K <c@chrisko.ch>2019-11-20 12:30:56 -0800
commitfce0f6ad223d6760aa7fe19e457d7925aa7c7846 (patch)
treea1422bf85c5a0b174282ec2dabc4ea3a93a0bf87
parent5b35cdba62662ea5f309788a627869b5a46c8e0e (diff)
Remove dhcpv4 namespace
Signed-off-by: kevin <kworm@missouri-telecom.com>
-rw-r--r--dhcpv4/modifiers.go2
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})
}
}
}