Code cleanup

This commit is contained in:
Luca 2016-12-16 01:46:07 +01:00
parent e3a1962997
commit a16fc2800b
6 changed files with 60 additions and 53 deletions

View file

@ -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); }