Browse Source

add missing destructors

master
Brad Parker 11 years ago
parent
commit
3e321f05b8
  1. 4
      interface.cpp
  2. 4
      neighbor.cpp

4
interface.cpp

@ -41,6 +41,10 @@ m_index(-1)
m_index = Utils::interfaceIndex(interface);
}
Interface::~Interface() {
}
/*!
Set the interface's administrative link state to up. Requires that the CAP_NET_ADMIN capability be set on the application binary, or run as root (\a not \a recommended). Returns 0 on success, 1 on error.
*/

4
neighbor.cpp

@ -32,6 +32,10 @@ m_interface(interface)
}
Neighbor::~Neighbor() {
}
/*!
Returns the MAC address that has been learned for the IP address \a ip. If the IP address is not in the ARP table or an error retrieving the neighbor occurred, the string "00:00:00:00:00:00" will be returned. If there was an error, *ok will be set to false, otherwise it will be true.
*/

Loading…
Cancel
Save