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 /examples | |
parent | 38f805ad06e71972953004e9472e43c175ba299c (diff) |
dhcpv6: remove setters and getters.
- Make members directly accessible.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/packetcrafting6/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/packetcrafting6/main.go b/examples/packetcrafting6/main.go index 9ec0d85..7e2fb1b 100644 --- a/examples/packetcrafting6/main.go +++ b/examples/packetcrafting6/main.go @@ -43,8 +43,8 @@ func main() { LinkLayerAddr: mac, } // As suggested above, an alternative is to call - // dhcpv6.NewSolicitForInterface("eth0", dhcpv6.WithCLientID(duid)) - msg = dhcpv6.WithClientID(duid)(msg) + // dhcpv6.NewSolicitForInterface("eth0", dhcpv6.WithClientID(duid)) + dhcpv6.WithClientID(duid)(msg) // Now encapsulate the message in a DHCPv6 relay. // As per RFC3315, the link-address and peer-address have |