diff options
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) { |