From d45a7c46fc23c32bed0906207be7efc7dced8a0b Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 16 May 2023 04:51:01 +0200 Subject: [PATCH] Interface names can be up to 16 bytes long. Docker bridge interfaces actually use this space so we need to reserve enough space here Signed-off-by: DL6ER --- src/tools/arp-scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/arp-scan.c b/src/tools/arp-scan.c index 1a038b3a..1c446840 100644 --- a/src/tools/arp-scan.c +++ b/src/tools/arp-scan.c @@ -448,7 +448,7 @@ static void print_results(struct thread_data *thread_data) // If there is at least one result, print header printf("ARP scan on interface %s (%s/%i) finished\n", thread_data->iface, thread_data->ipstr, thread_data->dst_cidr); - printf("%-16s %-10s %-24s %-17s Reply matrix\n", + printf("%-16s %-16s %-24s %-17s Reply matrix\n", "IP address", "Interface", "Hostname", "MAC address"); // Add our own IP address to the results so IP conflicts can be detected @@ -487,7 +487,7 @@ static void print_results(struct thread_data *thread_data) break; // Print MAC address - printf("%-16s %-10s %-24s %02x:%02x:%02x:%02x:%02x:%02x ", + printf("%-16s %-16s %-24s %02x:%02x:%02x:%02x:%02x:%02x ", thread_data->ipstr, thread_data->iface, get_hostname(&ip), thread_data->result[i].device[j].mac[0],