--- /dev/null
+diff -Nur dsniff-2.3.org/arpspoof.c dsniff-2.3/arpspoof.c
+--- dsniff-2.3.org/arpspoof.c 2000-11-28 07:43:43.000000000 +0000
++++ dsniff-2.3/arpspoof.c 2003-07-03 20:04:23.000000000 +0000
+@@ -17,7 +17,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <pcap.h>
+
+ #include "version.h"
+diff -Nur dsniff-2.3.org/decode_portmap.c dsniff-2.3/decode_portmap.c
+--- dsniff-2.3.org/decode_portmap.c 2000-12-15 20:13:29.000000000 +0000
++++ dsniff-2.3/decode_portmap.c 2003-07-03 20:04:23.000000000 +0000
+@@ -15,7 +15,7 @@
+ #include <rpc/pmap_prot.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include "rpc.h"
+ #include "trigger.h"
+diff -Nur dsniff-2.3.org/dnsspoof.c dsniff-2.3/dnsspoof.c
+--- dsniff-2.3.org/dnsspoof.c 2003-07-03 19:56:40.000000000 +0000
++++ dsniff-2.3/dnsspoof.c 2003-07-03 20:04:23.000000000 +0000
+@@ -21,7 +21,7 @@
+ #include <string.h>
+ #include <resolv.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <pcap.h>
+ #include "slist.h"
+ #include "pcaputil.h"
+diff -Nur dsniff-2.3.org/dsniff.c dsniff-2.3/dsniff.c
+--- dsniff-2.3.org/dsniff.c 2000-12-01 21:27:15.000000000 +0000
++++ dsniff-2.3/dsniff.c 2003-07-03 20:04:23.000000000 +0000
+@@ -18,7 +18,7 @@
+ #include <unistd.h>
+ #include <signal.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include <pcap.h>
+ #include "options.h"
+diff -Nur dsniff-2.3.org/filesnarf.c dsniff-2.3/filesnarf.c
+--- dsniff-2.3.org/filesnarf.c 2000-12-15 20:16:58.000000000 +0000
++++ dsniff-2.3/filesnarf.c 2003-07-03 20:04:23.000000000 +0000
+@@ -19,7 +19,7 @@
+ #include <fcntl.h>
+ #include <regex.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include <pcap.h>
+
+diff -Nur dsniff-2.3.org/macof.c dsniff-2.3/macof.c
+--- dsniff-2.3.org/macof.c 2000-11-14 15:50:55.000000000 +0000
++++ dsniff-2.3/macof.c 2003-07-03 20:04:23.000000000 +0000
+@@ -18,7 +18,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <pcap.h>
+
+ #include "version.h"
+diff -Nur dsniff-2.3.org/mailsnarf.c dsniff-2.3/mailsnarf.c
+--- dsniff-2.3.org/mailsnarf.c 2000-11-19 19:39:41.000000000 +0000
++++ dsniff-2.3/mailsnarf.c 2003-07-03 20:04:23.000000000 +0000
+@@ -18,7 +18,7 @@
+ #include <time.h>
+ #include <regex.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include <pcap.h>
+ #include "pcaputil.h"
+diff -Nur dsniff-2.3.org/msgsnarf.c dsniff-2.3/msgsnarf.c
+--- dsniff-2.3.org/msgsnarf.c 2003-07-03 19:56:40.000000000 +0000
++++ dsniff-2.3/msgsnarf.c 2003-07-03 20:04:23.000000000 +0000
+@@ -17,7 +17,7 @@
+ #include <string.h>
+ #include <regex.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include <pcap.h>
+ #include <pcaputil.h>
+diff -Nur dsniff-2.3.org/record.c dsniff-2.3/record.c
+--- dsniff-2.3.org/record.c 2003-07-03 19:56:40.000000000 +0000
++++ dsniff-2.3/record.c 2003-07-03 20:04:23.000000000 +0000
+@@ -19,7 +19,7 @@
+ #elif HAVE_DB_H
+ #include <db.h>
+ #endif
+-#include <libnet.h>
++#include <libnet1.h>
+ #include "options.h"
+ #include "record.h"
+
+diff -Nur dsniff-2.3.org/sshmitm.c dsniff-2.3/sshmitm.c
+--- dsniff-2.3.org/sshmitm.c 2000-12-17 21:09:43.000000000 +0000
++++ dsniff-2.3/sshmitm.c 2003-07-03 20:04:23.000000000 +0000
+@@ -16,7 +16,7 @@
+ #include <sys/wait.h>
+ #include <arpa/nameser.h>
+ #include <openssl/ssl.h>
+-#include <libnet.h>
++#include <libnet1.h>
+
+ #include <err.h>
+ #include <errno.h>
+diff -Nur dsniff-2.3.org/tcp_raw.c dsniff-2.3/tcp_raw.c
+--- dsniff-2.3.org/tcp_raw.c 2000-11-28 07:48:25.000000000 +0000
++++ dsniff-2.3/tcp_raw.c 2003-07-03 20:04:23.000000000 +0000
+@@ -12,7 +12,7 @@
+ #include <sys/uio.h>
+ #include <time.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include "options.h"
+ #include "tcp_raw.h"
+
+diff -Nur dsniff-2.3.org/tcpkill.c dsniff-2.3/tcpkill.c
+--- dsniff-2.3.org/tcpkill.c 2000-11-30 00:39:05.000000000 +0000
++++ dsniff-2.3/tcpkill.c 2003-07-03 20:04:23.000000000 +0000
+@@ -16,7 +16,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <pcap.h>
+ #include "pcaputil.h"
+ #include "version.h"
+diff -Nur dsniff-2.3.org/tcpnice.c dsniff-2.3/tcpnice.c
+--- dsniff-2.3.org/tcpnice.c 2000-11-30 00:39:05.000000000 +0000
++++ dsniff-2.3/tcpnice.c 2003-07-03 20:04:23.000000000 +0000
+@@ -18,7 +18,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <pcap.h>
+ #include "pcaputil.h"
+ #include "version.h"
+diff -Nur dsniff-2.3.org/trigger.c dsniff-2.3/trigger.c
+--- dsniff-2.3.org/trigger.c 2000-11-19 21:44:29.000000000 +0000
++++ dsniff-2.3/trigger.c 2003-07-03 20:04:23.000000000 +0000
+@@ -12,7 +12,7 @@
+ #include <sys/uio.h>
+ #include <stdlib.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include "decode.h"
+ #include "magic.h"
+diff -Nur dsniff-2.3.org/urlsnarf.c dsniff-2.3/urlsnarf.c
+--- dsniff-2.3.org/urlsnarf.c 2000-12-19 02:53:36.000000000 +0000
++++ dsniff-2.3/urlsnarf.c 2003-07-03 20:04:23.000000000 +0000
+@@ -21,7 +21,7 @@
+ #include <regex.h>
+ #include <time.h>
+ #include <err.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include <pcap.h>
+ #include "pcaputil.h"
+diff -Nur dsniff-2.3.org/webmitm.c dsniff-2.3/webmitm.c
+--- dsniff-2.3.org/webmitm.c 2000-12-03 05:13:28.000000000 +0000
++++ dsniff-2.3/webmitm.c 2003-07-03 20:04:23.000000000 +0000
+@@ -20,7 +20,7 @@
+
+ #include <err.h>
+ #include <errno.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+diff -Nur dsniff-2.3.org/webspy.c dsniff-2.3/webspy.c
+--- dsniff-2.3.org/webspy.c 2000-11-14 15:51:04.000000000 +0000
++++ dsniff-2.3/webspy.c 2003-07-03 20:04:23.000000000 +0000
+@@ -21,7 +21,7 @@
+ #include <string.h>
+ #include <err.h>
+ #include <X11/Xlib.h>
+-#include <libnet.h>
++#include <libnet1.h>
+ #include <nids.h>
+ #include "base64.h"
+ #include "buf.h"
+--- dsniff-2.3.org/configure.in 2003-07-03 19:56:40.000000000 +0000
++++ dsniff-2.3/configure.in 2003-07-03 20:10:06.000000000 +0000
+@@ -199,9 +199,9 @@
+ AC_SUBST(PCAPINC)
+ AC_SUBST(PCAPLIB)
+
+-dnl Checks for libnet
+-AC_MSG_CHECKING(for libnet)
+-AC_ARG_WITH(libnet,
++dnl Checks for libnet1
++AC_MSG_CHECKING(for libnet1)
++AC_ARG_WITH(libnet1,
+ [ --with-libnet=DIR use libnet in DIR],
+ [ case "$withval" in
+ yes|no)
+@@ -209,33 +209,33 @@
+ ;;
+ *)
+ AC_MSG_RESULT($withval)
+- if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a; then
++ if test -f $withval/include/libnet1.h -a -f $withval/lib/libnet1.a; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+- if test -f $withval/bin/libnet-config; then
+- CFLAGS="$CFLAGS `$withval/bin/libnet-config --defines`"
+- elif test -f $withval/libnet-config; then
+- CFLAGS="$CFLAGS `$withval/libnet-config --defines`"
++ if test -f $withval/bin/libnet1-config; then
++ CFLAGS="$CFLAGS `$withval/bin/libnet1-config --defines`"
++ elif test -f $withval/libnet1-config; then
++ CFLAGS="$CFLAGS `$withval/libnet1-config --defines`"
+ else
+- CFLAGS="$CFLAGS `libnet-config --defines`"
++ CFLAGS="$CFLAGS `libnet1-config --defines`"
+ fi
+ LNETINC="-I$withval/include"
+- LNETLIB="-L$withval/lib -lnet"
++ LNETLIB="-L$withval/lib -lnet1"
+ else
+- AC_ERROR(libnet.h or libnet.a not found in $withval)
++ AC_ERROR(libnet1.h or libnet1.a not found in $withval)
+ fi
+ ;;
+ esac ],
+-[ if test -f ${prefix}/include/libnet.h; then
+- CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`"
++[ if test -f ${prefix}/include/libnet1.h; then
++ CFLAGS="$CFLAGS `${prefix}/bin/libnet1-config --defines`"
+ LNETINC="-I${prefix}/include"
+- LNETLIB="-L${prefix}/lib -lnet"
+- elif test -f /usr/include/libnet.h; then
+- CFLAGS="$CFLAGS `libnet-config --defines`"
+- LNETLIB="-lnet"
++ LNETLIB="-L${prefix}/lib -lnet1"
++ elif test -f /usr/include/libnet1.h; then
++ CFLAGS="$CFLAGS `libnet1-config --defines`"
++ LNETLIB="-lnet1"
+ else
+ AC_MSG_RESULT(no)
+- AC_ERROR(libnet not found)
++ AC_ERROR(libnet1 not found)
+ fi
+ AC_MSG_RESULT(yes) ]
+ )