summaryrefslogtreecommitdiff
path: root/openwrt/package/dsniff/patches/noyp.patch
blob: 48393e20a28718762dbe0439047b129d8ee09183 (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
34
35
36
37
38
39
40
41
42
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-11 18:17:48.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/dsniff.services dsniff-2.3.patched/dsniff.services
--- dsniff-2.3/dsniff.services	2000-12-15 21:10:58.000000000 +0100
+++ dsniff-2.3.patched/dsniff.services	2005-06-11 18:19:27.000000000 +0200
@@ -66,5 +66,3 @@
 aim		9898/tcp
 pcanywhere	65301/tcp
 mountd		100005/rpc
-ypserv		100004/rpc
-yppasswd	100009/rpc
diff -Nur dsniff-2.3/Makefile.in dsniff-2.3.patched/Makefile.in
--- dsniff-2.3/Makefile.in	2005-06-11 18:17:20.000000000 +0200
+++ dsniff-2.3.patched/Makefile.in	2005-06-11 18:17:48.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