Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 919503
Collapse All | Expand All

(-)a/tcpkill.c (-1 / +1 lines)
Lines 84-90 tcp_kill_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt) Link Here
84
		if (libnet_write(l) < 0)
84
		if (libnet_write(l) < 0)
85
			warn("write");
85
			warn("write");
86
		
86
		
87
		fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq);
87
		fprintf(stderr, "%s R %u:%u(0) win 0\n", ctext, seq, seq);
88
	}
88
	}
89
}
89
}
90
90
(-)a/urlsnarf.c (-1 / +1 lines)
Lines 341-347 main(int argc, char *argv[]) Link Here
341
	}
341
	}
342
342
343
	struct pcap_pkthdr *h;
343
	struct pcap_pkthdr *h;
344
	u_char *d;
344
	const u_char *d;
345
	int rc;
345
	int rc;
346
	while ((rc = pcap_next_ex(p, &h, &d)) == 1) {
346
	while ((rc = pcap_next_ex(p, &h, &d)) == 1) {
347
		tt = h->ts.tv_sec;
347
		tt = h->ts.tv_sec;

Return to bug 919503