mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Reuse get_mac_based_tskey to avoid format differences
This commit is contained in:
parent
4a97017f35
commit
905700d4e2
4 changed files with 24 additions and 12 deletions
|
|
@ -85,6 +85,7 @@ class Host : public GenericHashEntry {
|
|||
char* printMask(char *str, u_int str_len) { return ip.printMask(str, str_len, isLocalHost()); };
|
||||
void freeHostData();
|
||||
virtual void deleteHostData();
|
||||
char* get_mac_based_tskey(Mac *mac, char *buf, size_t bufsize);
|
||||
public:
|
||||
Host(NetworkInterface *_iface, char *ipAddress, u_int16_t _vlanId);
|
||||
Host(NetworkInterface *_iface, Mac *_mac, u_int16_t _vlanId, IpAddress *_ip);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue