ouitools.go
func (b *AddressBlock) Contains(address HardwareAddr) bool {
	//fmt.Println("%v %v %v %v", b.Oui, len(b.Oui), address.Mask(CIDRMask(b.Mask, len(b.Oui)*8)), CIDRMask(b.Mask, len(b.Oui)*8))

	return (bytes.Equal(address.Mask(CIDRMask(b.Mask, len(b.Oui)*8)), b.Oui))
}
func (b *AddressBlock) Contains(address HardwareAddr) bool {
	//fmt.Println("%v %v %v %v", b.Oui, len(b.Oui), address.Mask(CIDRMask(b.Mask, len(b.Oui)*8)), CIDRMask(b.Mask, len(b.Oui)*8))

	return (bytes.Equal(address.Mask(CIDRMask(b.Mask, len(b.Oui)*8)), b.Oui))
}
func ( b * AddressBlock ) Contains ( address HardwareAddr ) bool { //fmt.Println("%v %v %v %v", b.Oui, len(b.Oui), address.Mask(CIDRMask(b.Mask, len(b.Oui)*8)), CIDRMask(b.Mask, len(b.Oui)*8)) return ( bytes . Equal ( address . Mask ( CIDRMask ( b . Mask , len ( b . Oui ) * 8 ) ) , b . Oui ) ) }
// Contains reports whether the mac address belongs to the OUI
Contains reports whether the mac address belongs to the OUI