mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
and more
This commit is contained in:
parent
1afab5d7be
commit
813ae0a5e9
3 changed files with 12 additions and 13 deletions
|
@ -38,7 +38,7 @@ func DHCP6For(what dhcp6.MessageType, to dhcp6.Packet, duid []byte) (err error,
|
|||
}
|
||||
|
||||
var rawCID []byte
|
||||
if raw, found := to.Options[dhcp6.OptionClientID]; found == false || len(raw) < 1 {
|
||||
if raw, found := to.Options[dhcp6.OptionClientID]; !found || len(raw) < 1 {
|
||||
return ErrNoCID, p
|
||||
} else {
|
||||
rawCID = raw[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue