Skip to content

Commit 97e3b76

Browse files
authored
Use stdout instead of stderr for "Target list from interface" message (#177)
* Use stdout instead of stderr for target list message * Updated ChangeLog
1 parent da6f3aa commit 97e3b76

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ChangeLog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2024-01-10 Roy Hills <royhills@hotmail.com>
2+
3+
* arp-scan.c: Use printf() instead of warn_msg() for the "Target list
4+
from interface" message so the output is sent to stdout instead of
5+
stderr.
6+
17
2024-01-04 Roy Hills <royhills@hotmail.com>
28

39
* configure.ac, README.md: Require C compiler with C99 language support.

arp-scan.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ main(int argc, char *argv[]) {
428428
c_netmask = make_message("%s", cp);
429429
snprintf(localnet_descr, 32, "%s:%s", c_network, c_netmask);
430430
if (!plain_flag) {
431-
warn_msg("Target list from interface: network %s netmask %s",
432-
c_network, c_netmask);
431+
printf("Target list from interface: network %s netmask %s\n",
432+
c_network, c_netmask);
433433
}
434434
free(c_network);
435435
free(c_netmask);

0 commit comments

Comments
 (0)