#15450: mtr unable to resolve hostname arguements on Mac OS X 10.5.3 -------------------------------------+-------------------------------------- Reporter: bahamat@digitalelf.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: 10.5.3 -------------------------------------+-------------------------------------- Comment (by krb0@irridia.com): Not sure what the thought was behind "0". --- mtr.c.orig 2008-05-29 17:21:17.000000000 -0700 +++ mtr.c 2008-05-29 17:21:30.000000000 -0700 @@ -384,7 +384,7 @@ bzero( &hints, sizeof hints ); hints.ai_family = af; hints.ai_socktype = SOCK_DGRAM; - error = getaddrinfo( Hostname, "0", &hints, &res ); + error = getaddrinfo( Hostname, "", &hints, &res ); if ( error ) { perror( gai_strerror(error) ); exit( EXIT_FAILURE ); -- Ticket URL: <http://trac.macports.org/ticket/15450#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS