summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-webspy_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-webspy_c')
-rw-r--r--package/dsniff/patches/patch-webspy_c20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/dsniff/patches/patch-webspy_c b/package/dsniff/patches/patch-webspy_c
deleted file mode 100644
index 6d6886151..000000000
--- a/package/dsniff/patches/patch-webspy_c
+++ /dev/null
@@ -1,20 +0,0 @@
---- dsniff-2.4.orig/webspy.c 2001-03-15 09:33:05.000000000 +0100
-+++ dsniff-2.4/webspy.c 2009-12-11 13:06:30.000000000 +0100
-@@ -126,7 +126,7 @@ process_http_request(struct tuple4 *addr
- if (auth == NULL)
- auth = "";
- if (vhost == NULL)
-- vhost = libnet_host_lookup(addr->daddr, 0);
-+ vhost = libnet_addr2name4(addr->daddr, 0);
-
- snprintf(cmd, sizeof(cmd), "openURL(http://%s%s%s%s)",
- auth, *auth ? "@" : "", vhost, uri);
-@@ -202,7 +202,7 @@ main(int argc, char *argv[])
- cmdtab[0] = cmd;
- cmdtab[1] = NULL;
-
-- if ((host = libnet_name_resolve(argv[0], 1)) == -1)
-+ if ((host = libnet_name2addr4(NULL, argv[0], 1)) == -1)
- errx(1, "unknown host");
-
- if ((dpy = XOpenDisplay(NULL)) == NULL)