freebsd-ports/net-mgmt/ndpmon/files/patch-utils.h
Martin Wilke 9a676e7dbc NDPMon is an equivalent of ArpWatch for IPv6.
NDPMon, Neighbor Discovery Protocol Monitor, is a tool working with
ICMPv6 packets. NDPMon observes the local network to see if nodes
using neighbor discovery messages behave properly. When it detects
a suspicious Neighbor Discovery message, it notifies the administrator
by writing in the syslog and in some cases by sending an email
report.

WWW: http://ndpmon.sourceforge.net

Janos Mohacsi <janos.mohacsi@bsd.hu>

PR:		ports/106840
Submitted by:	janos.mohacsi at bsd.hu
2006-12-21 20:20:49 +00:00

14 lines
414 B
C

$FreeBSD$
--- utils.h.orig
+++ utils.h
@@ -36,7 +36,7 @@
#define ETHERNET_SIZE 14 /* ethernet headers are 14 bytes */
#define IPV6_SIZE 40 /* ipv6 headers without fragment ... are 40 bytes */
#define ICMP6_HEADER_SIZE 8
-#define ETHERTYPE_IPV6 0x86dd
+/*#define ETHERTYPE_IPV6 0x86dd */
/*Size to build char* address in a readable form*/
#define IP6_STR_SIZE 40 /*xxxx:xxxx:xxx:xxxx:xxxx:xxxx:xxxx:xxxx*/