Browse Source

fix comparison error

master
Brad Parker 9 years ago
parent
commit
6f55309025
  1. 2
      neighbor.cpp

2
neighbor.cpp

@ -181,7 +181,7 @@ QString Neighbor::macOfIP(QString ip, bool *ok) const {
nl_cache_free(neigh_cache);
nl_socket_free(sock);
if(mac == NULL || count == 0) {
if(mac[0] == '\0' || count == 0) {
if(ok != NULL) {
*ok = true;
}

Loading…
Cancel
Save