Index: nsock/src/nsock_pcap.c =================================================================== --- nsock/src/nsock_pcap.c (revision 25136) +++ nsock/src/nsock_pcap.c (working copy) @@ -78,6 +78,7 @@ break; /* sorry, something failed*/ if (++failed >= 3) { + mp->pcap_device = strdup(pcap_device); fprintf(stderr, "Call to pcap_open_live(%s, %d, %d, %d) failed three times. Reported error: %s\n" "There are several possible reasons for this, depending on your operating system:\n"