diff options
Diffstat (limited to 'package/dsniff/patches/patch-webmitm_c')
-rw-r--r-- | package/dsniff/patches/patch-webmitm_c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/dsniff/patches/patch-webmitm_c b/package/dsniff/patches/patch-webmitm_c deleted file mode 100644 index 2ff4d2331..000000000 --- a/package/dsniff/patches/patch-webmitm_c +++ /dev/null @@ -1,20 +0,0 @@ ---- dsniff-2.4.orig/webmitm.c 2001-03-17 09:35:05.000000000 +0100 -+++ dsniff-2.4/webmitm.c 2009-12-11 13:05:28.000000000 +0100 -@@ -242,7 +242,7 @@ server_init(char *buf, int size) - word = buf_tok(&msg, "/", 1); - vhost = buf_strdup(word); - } -- ssin.sin_addr.s_addr = libnet_name_resolve(vhost, 1); -+ ssin.sin_addr.s_addr = libnet_name2addr4(NULL, vhost, 1); - free(vhost); - - if (ssin.sin_addr.s_addr == ntohl(INADDR_LOOPBACK) || -@@ -510,7 +510,7 @@ main(int argc, char *argv[]) - argv += optind; - - if (argc == 1) { -- if ((static_host = libnet_name_resolve(argv[0], 1)) == -1) -+ if ((static_host = libnet_name2addr4(NULL, argv[0], 1)) == -1) - usage(); - } - else if (argc != 0) usage(); |