Am Montag, den 25.05.2009, 23:47 +0200 schrieb Hugo van der Kooij:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christoph Maser wrote:
>
> > When i run check_ping with -6 and an IPv6 address i see this in strace:
> >
> > [pid 28750] execve("/bin/ping", ["/bin/ping", "-n", "-U", "-w", "10",
> > "-c", "5", "::ffff:127.0.0.1"], [/* 1 var */] <unfinished ...>
> >
> > Since all the build logs say ipv6 is enabled (autodetected) I really
> > think this is a problem to report upstream.
>
> I found this bit of code inside:
>
> #ifdef PING6_COMMAND
> if (address_family != AF_INET &&
> is_inet6_addr(addresses[i]))
> rawcmd = strdup(PING6_COMMAND);
> else
> rawcmd = strdup(PING_COMMAND);
> #else
> rawcmd = strdup(PING_COMMAND);
> #endif
>
> It seems to me this must be defined at compile time. So shouldn't this
> be done by the SPEC file?
>
> Hugo.
Right, exactly what i expected. And the buildlogs shows autoconf finds
ping6 _and_ it defines --with-ipv6. I think this should be sufficient.
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München |
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm |
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis
Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID
number/St.Nr.: DE205 370 553
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users