fixed some issues
This commit is contained in:
@@ -28,6 +28,11 @@ namespace WiFiRaw {
|
||||
memcpy(this, data, 6);
|
||||
}
|
||||
|
||||
/** convert to pointer */
|
||||
const uint8_t* asPtr() const {
|
||||
return (uint8_t*) this;
|
||||
}
|
||||
|
||||
/** equal to the given mac? */
|
||||
bool operator == (const MACAddress& o) const {
|
||||
return (a == o.a) && (b == o.b) && (c == o.c) && (d == o.d) && (e == o.e) && (f == o.f);
|
||||
|
||||
Reference in New Issue
Block a user