]>
Commit | Line | Data |
---|---|---|
e2fb63d0 TP |
1 | Index: arpwatch/arpwatch.c |
2 | diff -u arpwatch/arpwatch.c:1.1.1.1 arpwatch/arpwatch.c:1.1.1.1.20.1 | |
3 | --- arpwatch/arpwatch.c:1.1.1.1 Tue Apr 17 13:31:36 2001 | |
4 | +++ arpwatch/arpwatch.c Thu Aug 12 23:51:51 2004 | |
5 | @@ -223,9 +223,10 @@ | |
6 | ||
7 | /* Determine network and netmask */ | |
8 | if (pcap_lookupnet(interface, &net, &netmask, errbuf) < 0) { | |
9 | - (void)fprintf(stderr, "%s: bad interface %s: %s\n", | |
10 | - prog, interface, errbuf); | |
11 | - exit(1); | |
12 | + syslog(LOG_NOTICE, "bad interface %s: %s - assuming unconfigured interface", | |
13 | + interface, errbuf); | |
14 | + net = 0; | |
15 | + netmask = 0; | |
16 | } | |
17 | ||
18 | /* Drop into the background if not debugging */ |