View | Details | Raw Unified | Return to bug 29217
Collapse All | Expand All

(-)a/arpwatch/arpwatch.c (-1 / +1 lines)
Lines 309-315 main(int argc, char **argv) Link Here
309
		snaplen = max(sizeof(struct ether_header),
309
		snaplen = max(sizeof(struct ether_header),
310
		    sizeof(struct fddi_header)) + sizeof(struct ether_arp);
310
		    sizeof(struct fddi_header)) + sizeof(struct ether_arp);
311
		if (strcmp(interface, "any") == 0)
311
		if (strcmp(interface, "any") == 0)
312
			snaplen = sizeof(struct lcc_header) + sizeof(struct ether_arp);
312
			snaplen = sizeof(struct lcc_header) + sizeof(struct ether_arp)+1;
313
		timeout = 1000;
313
		timeout = 1000;
314
		pd = pcap_open_live(interface, snaplen, 1, timeout, errbuf);
314
		pd = pcap_open_live(interface, snaplen, 1, timeout, errbuf);
315
		if (pd == NULL) {
315
		if (pd == NULL) {

Return to bug 29217