Ticket #21225: patch-sshmitm.c.diff

File patch-sshmitm.c.diff, 340 bytes (added by hsivank@…, 15 years ago)
  • sshmitm.c

    old new  
    389389        if (argc < 1)
    390390                usage();
    391391       
    392         if ((ip = libnet_name_resolve(argv[0], 1)) == -1)
     392        if ((ip = libnet_name2addr4(NULL, argv[0], LIBNET_RESOLVE)) == -1)
    393393                usage();
    394394
    395395        if (argc == 2 && (rport = atoi(argv[1])) == 0)