diff options
author | Sean Karlage <skarlage@fb.com> | 2018-07-29 17:54:30 -0700 |
---|---|---|
committer | Sean Karlage <skarlage@fb.com> | 2018-07-30 22:17:49 -0700 |
commit | 7319b8f8a1a601b5e69c5bcaa33914c0f85b92e6 (patch) | |
tree | 945d12ed3d8a11ebc55dd2f8d6ee1304ecd2b20f /dhcpv6/dhcpv6.go | |
parent | c6894ea160d82b4a326ebab94faaebd090192a7b (diff) |
DHCPv6: Rename Option constants to CamelCase
To appease linters
Diffstat (limited to 'dhcpv6/dhcpv6.go')
-rw-r--r-- | dhcpv6/dhcpv6.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/dhcpv6.go b/dhcpv6/dhcpv6.go index 253a635..0dabca5 100644 --- a/dhcpv6/dhcpv6.go +++ b/dhcpv6/dhcpv6.go @@ -134,7 +134,7 @@ func DecapsulateRelay(l DHCPv6) (DHCPv6, error) { if !l.IsRelay() { return l, nil } - opt := l.GetOneOption(OPTION_RELAY_MSG) + opt := l.GetOneOption(OptionRelayMsg) if opt == nil { return nil, fmt.Errorf("No OptRelayMsg found") } |