After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650611 - fix for systems that configure an (unused) ipv6 address by default
fix for systems that configure an (unused) ipv6 address by default
Status: RESOLVED FIXED
Product: gnome-nettool
Classification: Applications
Component: general
3.0.x
Other All
: Normal normal
: ---
Assigned To: Germán Poo-Caamaño
Rodrigo Moya
: 578841 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-19 16:50 UTC by Jasper Lievisse Adriaanse
Modified: 2011-07-13 08:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adjust decision logic (1.45 KB, patch)
2011-05-19 16:50 UTC, Jasper Lievisse Adriaanse
committed Details | Review

Description Jasper Lievisse Adriaanse 2011-05-19 16:50:09 UTC
Created attachment 188146 [details] [review]
Adjust decision logic

On OpenBSD configured interfaces have default IPv6 address, this would
cause the code in netinfo_get_ip_version() to believe we should use the IPv6
version of various tools, like ping6 and traceroute6. While in reality many people leave the interfaces as is (don't remove the IPv6 address) and use the interface over IPv4. So the IPv6 tools wouldn't have a proper way out and fail, this was the default behaviour...

Now the code defaults to checking if for AF_INET address family instead
of the other way around (which would thus always return IPv6), so the right tools are used and there are no more "ping6: no route to host" messages on the console when you're actually sending out ipv4 traffic..
Comment 1 Germán Poo-Caamaño 2011-07-13 07:39:04 UTC
Review of attachment 188146 [details] [review]:

Thanks.
Comment 2 Germán Poo-Caamaño 2011-07-13 07:39:23 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Jasper Lievisse Adriaanse 2011-07-13 07:54:22 UTC
Thanks for committing.
Comment 4 Jasper Lievisse Adriaanse 2011-07-13 08:00:52 UTC
But it's not been pushed, right?
Comment 5 Germán Poo-Caamaño 2011-07-13 08:11:46 UTC
*** Bug 578841 has been marked as a duplicate of this bug. ***
Comment 6 Germán Poo-Caamaño 2011-07-13 08:15:58 UTC
(In reply to comment #4)
> But it's not been pushed, right?

It is there: http://git.gnome.org/browse/gnome-nettool/commit/?id=7cdd757b1d74a1c3b662d4c04e34b77a19af072e

Probably you replied while I was pushing the changes.