]> git.pld-linux.org Git - packages/arpwatch.git/blame - arpwatch-debian_25ignore_zero_ip.patch
- build fix found, but i don't know how to grab diff from it
[packages/arpwatch.git] / arpwatch-debian_25ignore_zero_ip.patch
CommitLineData
e2fb63d0
TP
1Index: arpwatch/db.c
2diff -u arpwatch/db.c:1.1.1.1 arpwatch/db.c:1.1.1.1.32.1
3--- arpwatch/db.c:1.1.1.1 Tue Apr 17 13:31:36 2001
4+++ arpwatch/db.c Thu Aug 12 15:27:22 2004
5@@ -95,6 +95,11 @@
6 u_char *e2;
7 time_t t2;
8
9+ /* Ignore 0.0.0.0 */
10+ if (a == 0) {
11+ return(1);
12+ }
13+
14 /* Lookup ip address */
15 ap = ainfo_find(a);
16
This page took 0.086362 seconds and 4 git commands to generate.