summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/iputils.go
diff options
context:
space:
mode:
authorChristopher Koch <chrisko@google.com>2019-02-28 14:48:54 -0800
committerinsomniac <insomniacslk@users.noreply.github.com>2019-03-11 21:54:10 -0700
commitafbaa1460f929a04c6e198b387174e70f0f9c903 (patch)
tree6f631e1afc4bd4be5db90cd7d34cb48a82ec6786 /dhcpv6/iputils.go
parent38f805ad06e71972953004e9472e43c175ba299c (diff)
dhcpv6: remove setters and getters.
- Make members directly accessible.
Diffstat (limited to 'dhcpv6/iputils.go')
-rw-r--r--dhcpv6/iputils.go2
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
}