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 /netboot | |
parent | 38f805ad06e71972953004e9472e43c175ba299c (diff) |
dhcpv6: remove setters and getters.
- Make members directly accessible.
Diffstat (limited to 'netboot')
-rw-r--r-- | netboot/netconf_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/netboot/netconf_test.go b/netboot/netconf_test.go index b267101..69d58ad 100644 --- a/netboot/netconf_test.go +++ b/netboot/netconf_test.go @@ -31,8 +31,7 @@ func getAdv(modifiers ...dhcpv6.Modifier) *dhcpv6.Message { if err != nil { log.Panic(err) } - adv := d.(*dhcpv6.Message) - return adv + return d } func TestGetNetConfFromPacketv6Invalid(t *testing.T) { |