File arpwatch.ETHERCODES.patch of Package arpwatch
--- a/Makefile.in
+++ b/Makefile.in
@@ -55,7 +55,7 @@ ALL = $(PROG) arpsnmp
CC = @CC@
CCOPT = @V_CCOPT@
INCLS = -I. @V_INCLS@
-DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
+DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" -DETHERCODES=\"$(ETHERCODES)\"
# Standard CFLAGS
CFLAGS = @CFLAGS@ @CPPFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
--- a/arpwatch.h
+++ b/arpwatch.h
@@ -1,7 +1,9 @@
/* @(#) $Id: arpwatch.h 1197 2012-11-03 00:35:36Z leres $ (LBL) */
#define ARPFILE "arp.dat"
+#ifndef ETHERCODES
#define ETHERCODES "ethercodes.dat"
+#endif
#define CHECKPOINT (15*60) /* Checkpoint time in seconds */
#ifdef ETHER_HEADER_HAS_EA