summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-sshmitm_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-sshmitm_c')
-rw-r--r--package/dsniff/patches/patch-sshmitm_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/dsniff/patches/patch-sshmitm_c b/package/dsniff/patches/patch-sshmitm_c
new file mode 100644
index 000000000..d4b63b378
--- /dev/null
+++ b/package/dsniff/patches/patch-sshmitm_c
@@ -0,0 +1,11 @@
+--- dsniff-2.4.orig/sshmitm.c 2001-03-15 09:33:04.000000000 +0100
++++ dsniff-2.4/sshmitm.c 2009-12-11 12:57:39.000000000 +0100
+@@ -389,7 +389,7 @@ main(int argc, char *argv[])
+ if (argc < 1)
+ usage();
+
+- if ((ip = libnet_name_resolve(argv[0], 1)) == -1)
++ if ((ip = libnet_name2addr4(NULL, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
+ if (argc == 2 && (rport = atoi(argv[1])) == 0)