mirror of
https://github.com/soypat/lneto.git
synced 2026-08-20 06:29:03 +00:00
no dhcp request on zeroed address (#33)
This commit is contained in:
@@ -564,8 +564,3 @@ func addr4(addr [4]byte, ok bool) netip.Addr {
|
||||
}
|
||||
return netip.AddrFrom4(addr)
|
||||
}
|
||||
|
||||
func hash(b []byte) uint16 {
|
||||
var csum lneto.CRC791
|
||||
return csum.PayloadSum16(b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user