trying out stuff

This commit is contained in:
j3d1 2016-02-23 15:54:56 +01:00
parent a90401ddeb
commit 507cfe2140
8 changed files with 118 additions and 49 deletions

View file

@ -50,6 +50,20 @@ public:
else break;
}
}
bool operator==(const macAddr &A) {
for (unsigned i = 0; i < 6; i++) {
if(A[i]!=(*this)[i])return false;
}
return true;
}
bool operator!=(const macAddr &A) {
for (unsigned i = 0; i < 6; i++) {
if(A[i]!=(*this)[i])return true;
}
return false;
}
};
/*