arroway/Homemade-Network-Scanner — Issue #1: memcpy instead of memcmp in ll_browse_ether()
Author: fallen
Created: 2011-10-23 23:58:02+00:00
State: open

I think in ll_browse_ether() there should be :

if (memcmp(tmp->mac_addr, arg, (sizeof(u_char) * ETHER_ADDR_LEN)) == 0)
return(EXIT_SUCCESS);

instead of :

if (memcpy(tmp->mac_addr, arg, (sizeof(u_char) * ETHER_ADDR_LEN)))
return(EXIT_SUCCESS);