dsniff, still segfaults, but some tools work fine urlsnarf,..
[openwrt.git] / openwrt / package / dsniff / patches / noyp.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-09 15:20:16.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/Makefile.in dsniff-2.3.patched/Makefile.in
23 --- dsniff-2.3/Makefile.in      2005-06-09 15:20:41.000000000 +0200
24 +++ dsniff-2.3.patched/Makefile.in      2005-06-09 15:18:51.000000000 +0200
25 @@ -60,7 +60,7 @@
26           decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c \
27           decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c \
28           decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c \
29 -         decode_telnet.c decode_vrrp.c decode_yp.c decode_x11.c
30 +         decode_telnet.c decode_vrrp.c decode_x11.c
31  
32  GEN    = mount.h mount.c nfs_prot.h nfs_prot.c
33