Show interface name in "Advertising" message

This commit is contained in:
Joseph C. Lehner 2016-02-13 13:35:01 +01:00
parent a6c40ee917
commit efb7442a15

4
nmrp.c
View file

@ -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;