diff options
Diffstat (limited to 'examples/packetcrafting6/main.go')
-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 |