Summary: | Network interface doesn't show ipv6 information | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Bruno Friedmann <bruno> |
Component: | Network Interfaces | Assignee: | David Hubner <hubn3rd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | johan.claudebreuninger, nate, pierre+libre.kde |
Priority: | NOR | ||
Version: | 4.9.98 RC3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kinfocenter/4582053b7cac596e6987a8ff460ffe7fb153155b | Version Fixed In: | 5.18.0 |
Sentry Crash Report: |
Description
Bruno Friedmann
2013-01-25 18:02:47 UTC
*** Bug 295909 has been marked as a duplicate of this bug. *** I can confirm this under Kinfocenter 5.11.2. Git commit 4582053b7cac596e6987a8ff460ffe7fb153155b by Harald Sitter. Committed on 31/01/2020 at 15:11. Pushed by sitter into branch 'Plasma/5.18'. do not disable getifaddrs use because of sa_len availablility Summary: this fixes ipv6 support in nic listing. well, kinda. the getifaddrs branch is the only one supporting ipv6 properly so it seems silly to use the ioctl branch just because sa_len is not available. simply wrap around getnameinfo and either use sa_len or determine the length based on the socket family (as seen on the getifaddrs manpage). this way the branch compiles fine without sa_len and is fine to use by just about all glibc systems thus giving us ipv6 support on just about every glib system. Related: bug 277208 FIXED-IN: 5.18.0 Test Plan: built on neon. shows ipv6 addresses Reviewers: ngraham Reviewed By: ngraham Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26729 M +25 -14 Modules/nics/nic.cpp https://commits.kde.org/kinfocenter/4582053b7cac596e6987a8ff460ffe7fb153155b |