summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/noyp.patch
blob: 47dda9515ba219ba36cb79cc63c2d2c61ee1cdfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -Nur dsniff-2.3/decode.c dsniff-2.3.patched/decode.c
--- dsniff-2.3/decode.c	2000-12-15 21:03:26.000000000 +0100
+++ dsniff-2.3.patched/decode.c	2005-06-09 15:20:16.000000000 +0200
@@ -49,8 +49,6 @@
 extern int decode_portmap(u_char *, int, u_char *, int);
 extern int decode_mountd(u_char *, int, u_char *, int);
 extern int decode_vrrp(u_char *, int, u_char *, int);
-extern int decode_ypserv(u_char *, int, u_char *, int);
-extern int decode_yppasswd(u_char *, int, u_char *, int);
 
 static struct decode decodes[] = {
 	{ "hex",	decode_hex },
@@ -86,8 +84,6 @@
 	{ "irc",	decode_irc },
 	{ "portmap",	decode_portmap },
 	{ "mountd",	decode_mountd },
-	{ "ypserv",	decode_ypserv },
-	{ "yppasswd",	decode_yppasswd },
 	{ NULL }
 };
 
diff -Nur dsniff-2.3/Makefile.in dsniff-2.3.patched/Makefile.in
--- dsniff-2.3/Makefile.in	2005-06-09 15:20:41.000000000 +0200
+++ dsniff-2.3.patched/Makefile.in	2005-06-09 15:18:51.000000000 +0200
@@ -60,7 +60,7 @@
 	  decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c \
 	  decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c \
 	  decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c \
-	  decode_telnet.c decode_vrrp.c decode_yp.c decode_x11.c
+	  decode_telnet.c decode_vrrp.c decode_x11.c
 
 GEN	= mount.h mount.c nfs_prot.h nfs_prot.c