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);
|
beg = time(NULL);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
printf("\rAdvertising NMRP server on interface ... %c",
|
printf("\rAdvertising NMRP server on %s ... %c",
|
||||||
spinner[i]);
|
args->intf, spinner[i]);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
i = (i + 1) & 3;
|
i = (i + 1) & 3;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue