Add vnstati (#4311)
[openwrt/svn-archive/archive.git] / net / dsniff / patches / 004-no_yp.patch
1 diff -Nur dsniff-2.3/decode.c dsniff-2.3.patched/decode.c
2 --- dsniff-2.3/decode.c 2000-12-15 21:03:26.000000000 +0100
3 +++ dsniff-2.3.patched/decode.c 2005-06-11 18:17:48.000000000 +0200
4 @@ -49,8 +49,6 @@
5 extern int decode_portmap(u_char *, int, u_char *, int);
6 extern int decode_mountd(u_char *, int, u_char *, int);
7 extern int decode_vrrp(u_char *, int, u_char *, int);
8 -extern int decode_ypserv(u_char *, int, u_char *, int);
9 -extern int decode_yppasswd(u_char *, int, u_char *, int);
10
11 static struct decode decodes[] = {
12 { "hex", decode_hex },
13 @@ -86,8 +84,6 @@
14 { "irc", decode_irc },
15 { "portmap", decode_portmap },
16 { "mountd", decode_mountd },
17 - { "ypserv", decode_ypserv },
18 - { "yppasswd", decode_yppasswd },
19 { NULL }
20 };
21
22 diff -Nur dsniff-2.3/dsniff.services dsniff-2.3.patched/dsniff.services
23 --- dsniff-2.3/dsniff.services 2000-12-15 21:10:58.000000000 +0100
24 +++ dsniff-2.3.patched/dsniff.services 2005-06-11 18:19:27.000000000 +0200
25 @@ -66,5 +66,3 @@
26 aim 9898/tcp
27 pcanywhere 65301/tcp
28 mountd 100005/rpc
29 -ypserv 100004/rpc
30 -yppasswd 100009/rpc
31 diff -Nur dsniff-2.3/Makefile.in dsniff-2.3.patched/Makefile.in
32 --- dsniff-2.3/Makefile.in 2005-06-11 18:17:20.000000000 +0200
33 +++ dsniff-2.3.patched/Makefile.in 2005-06-11 18:17:48.000000000 +0200
34 @@ -60,7 +60,7 @@
35 decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c \
36 decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c \
37 decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c \
38 - decode_telnet.c decode_vrrp.c decode_yp.c decode_x11.c
39 + decode_telnet.c decode_vrrp.c decode_x11.c
40
41 GEN = mount.h mount.c nfs_prot.h nfs_prot.c
42