diff options
Diffstat (limited to 'examples/packetcrafting6')
-rw-r--r-- | examples/packetcrafting6/main.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/packetcrafting6/main.go b/examples/packetcrafting6/main.go index f2c1855..13e1c22 100644 --- a/examples/packetcrafting6/main.go +++ b/examples/packetcrafting6/main.go @@ -41,9 +41,8 @@ func main() { if err != nil { log.Fatal(err) } - duid := dhcpv6.Duid{ - Type: dhcpv6.DUID_LLT, - HwType: iana.HWTypeEthernet, + duid := &dhcpv6.DUIDLLT{ + HWType: iana.HWTypeEthernet, Time: dhcpv6.GetTime(), LinkLayerAddr: mac, } |