1
0

patch-sshmitm_c 391 B

1234567891011
  1. --- dsniff-2.4.orig/sshmitm.c 2001-03-15 09:33:04.000000000 +0100
  2. +++ dsniff-2.4/sshmitm.c 2009-12-11 12:57:39.000000000 +0100
  3. @@ -389,7 +389,7 @@ main(int argc, char *argv[])
  4. if (argc < 1)
  5. usage();
  6. - if ((ip = libnet_name_resolve(argv[0], 1)) == -1)
  7. + if ((ip = libnet_name2addr4(NULL, argv[0], LIBNET_RESOLVE)) == -1)
  8. usage();
  9. if (argc == 2 && (rport = atoi(argv[1])) == 0)