summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/options.go
diff options
context:
space:
mode:
authorChris Koch <chrisko@google.com>2019-12-28 08:57:51 -0800
committerinsomniac <insomniacslk@users.noreply.github.com>2020-03-05 15:51:55 +0000
commitbb0c09a3da430db48a7bd0749b7d5411649e1026 (patch)
tree1f51843a9155b6444e999bf141a546bf2eaf51d3 /dhcpv6/options.go
parentd9b1a20bc08c08acc5e43e818fe1c3b71612f0a7 (diff)
v6: add ElapsedTime getter
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv6/options.go')
-rw-r--r--dhcpv6/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/options.go b/dhcpv6/options.go
index 9d0ff9d..63261c1 100644
--- a/dhcpv6/options.go
+++ b/dhcpv6/options.go
@@ -52,7 +52,7 @@ func ParseOption(code OptionCode, optData []byte) (Option, error) {
err = o.FromBytes(optData)
opt = &o
case OptionElapsedTime:
- opt, err = ParseOptElapsedTime(optData)
+ opt, err = parseOptElapsedTime(optData)
case OptionRelayMsg:
opt, err = ParseOptRelayMsg(optData)
case OptionStatusCode: