| 1 | // Copyright (C) Microsoft Corporation. All rights reserved. |
| 2 | #include "Neighbor.h" |
| 3 | |
| 4 | Neighbor::Neighbor(const Address& ipAddress, const MacAddress& macAddress, int dev) : |
| 5 | ipAddress(ipAddress), macAddress(macAddress), dev(dev) |
| 6 | { |
| 7 | } |
| 8 | |
| 9 | int Neighbor::getFamily() const |
| 10 | { |
| 11 | return ipAddress.Family(); |
| 12 | } |