db_nmap icon indicating copy to clipboard operation
db_nmap copied to clipboard

Support multiple hostnames

Open rtpt-erikgeiser opened this issue 1 year ago • 0 comments

This PR adds optional support for multiple hostnames. It can be enabled during compilation via -ldflags "-X main.enableMultipleHostnames=true" or during runtime with an environment variable (export DB_NMAP_ENABLE_MULTIPLE_HOSTNAMES=1). If a host has multiple hostnames they will be joined with a colon like this: hostname1, hostname2

The PR also adds a missing error check.

rtpt-erikgeiser avatar Oct 04 '23 13:10 rtpt-erikgeiser