diff options
author | Christopher Koch <chrisko@google.com> | 2019-02-28 14:48:54 -0800 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-03-11 21:54:10 -0700 |
commit | afbaa1460f929a04c6e198b387174e70f0f9c903 (patch) | |
tree | 6f631e1afc4bd4be5db90cd7d34cb48a82ec6786 /dhcpv6/iputils.go | |
parent | 38f805ad06e71972953004e9472e43c175ba299c (diff) |
dhcpv6: remove setters and getters.
- Make members directly accessible.
Diffstat (limited to 'dhcpv6/iputils.go')
-rw-r--r-- | dhcpv6/iputils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/iputils.go b/dhcpv6/iputils.go index e04a9a7..b8c5876 100644 --- a/dhcpv6/iputils.go +++ b/dhcpv6/iputils.go @@ -74,7 +74,7 @@ func ExtractMAC(packet DHCPv6) (net.HardwareAddr, error) { if err != nil { return nil, err } - ip := inner.(*RelayMessage).PeerAddr() + ip := inner.(*RelayMessage).PeerAddr if mac, err := GetMacAddressFromEUI64(ip); err == nil { return mac, nil } |