Show interface name in "Advertising" message
This commit is contained in:
parent
a6c40ee917
commit
efb7442a15
1 changed files with 2 additions and 2 deletions
4
nmrp.c
4
nmrp.c
|
@ -365,8 +365,8 @@ int nmrp_do(struct nmrpd_args *args)
|
|||
beg = time(NULL);
|
||||
|
||||
while (1) {
|
||||
printf("\rAdvertising NMRP server on interface ... %c",
|
||||
spinner[i]);
|
||||
printf("\rAdvertising NMRP server on %s ... %c",
|
||||
args->intf, spinner[i]);
|
||||
fflush(stdout);
|
||||
i = (i + 1) & 3;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue