anvil/scancore-agents/scan-network
digimer 870c990632 Added support for multiple IP's per interface
* Created Database->get_mac_to_ip()
* Updated Database->insert_or_update_mac_to_ip() to find an entry using
  both the IP and MAC address.
* Updated Network->get_ips() to store only the first IP it finds on an
  interface as the main IP (for use in /etc/hosts, etc) and to store it
  and any other IPs in a new hash.
* Updated scan-network to use the new hash above to record them in the
  'mac_to_ip' table. Similarly, before marking an IP as removed, it
  checks to see if it's an alternate IP.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-03-06 19:06:05 -05:00
..
scan-network Added support for multiple IP's per interface 2024-03-06 19:06:05 -05:00
scan-network.sql * Disabled debug logging in anvil-daemon. 2021-06-30 02:36:06 -04:00
scan-network.xml Added support for multiple IP's per interface 2024-03-06 19:06:05 -05:00