Ticket #15450: mtr.c.patch

File mtr.c.patch, 401 bytes (added by krb0@…, 16 years ago)

mtr.c.patch

  • mtr.c

    old new  
    384384  bzero( &hints, sizeof hints );
    385385  hints.ai_family = af;
    386386  hints.ai_socktype = SOCK_DGRAM;
    387   error = getaddrinfo( Hostname, "0", &hints, &res );
     387  error = getaddrinfo( Hostname, "", &hints, &res );
    388388  if ( error ) {
    389389    perror( gai_strerror(error) );
    390390    exit( EXIT_FAILURE );