summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
diff options
context:
space:
mode:
authorkevin <kworm@missouri-telecom.com>2019-11-19 12:11:53 -0600
committerChris K <c@chrisko.ch>2019-11-20 12:30:56 -0800
commit41dec12ba9ae4e2cae509497e75922bbcf096ec0 (patch)
treeb74732c6c092e3dadabbae81f23e694b4ff38daf /dhcpv4
parentfce0f6ad223d6760aa7fe19e457d7925aa7c7846 (diff)
Update function name in NewReplyFromRequest
Signed-off-by: kevin <kworm@missouri-telecom.com>
Diffstat (limited to 'dhcpv4')
-rw-r--r--dhcpv4/dhcpv4.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/dhcpv4.go b/dhcpv4/dhcpv4.go
index d3890c5..1d8ddef 100644
--- a/dhcpv4/dhcpv4.go
+++ b/dhcpv4/dhcpv4.go
@@ -262,7 +262,7 @@ func NewReplyFromRequest(request *DHCPv4, modifiers ...Modifier) (*DHCPv4, error
return New(PrependModifiers(modifiers,
WithReply(request),
WithGatewayIP(request.GatewayIPAddr),
- WithRelayOptions(request),
+ WithRelayAgentInfo(request),
)...)
}