mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Code cleanup
This commit is contained in:
parent
e3a1962997
commit
a16fc2800b
6 changed files with 60 additions and 53 deletions
|
|
@ -114,7 +114,7 @@ class Host : public GenericHost {
|
|||
inline void setOS(char *_os) { if(os[0] == '\0') snprintf(os, sizeof(os), "%s", _os); }
|
||||
inline IpAddress* get_ip() { return(&ip); }
|
||||
void set_mac(char *m);
|
||||
inline bool is_blacklisted() { return(blacklisted_host); }
|
||||
inline bool isBlacklisted() { return(blacklisted_host); }
|
||||
inline u_int8_t* get_mac() { return(mac ? mac->get_mac() : NULL); }
|
||||
inline Mac* getMac() { return(mac); }
|
||||
inline char* get_os() { return(os); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue