Skip to content

[BUG] LocalIP: no IPv6 address detected #1919

@jannispl

Description

@jannispl

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

So far the recent changes in LocalIP module look really good. However, on one of my systems, fastfetch is unable to detect my IPv6 address, even though showIpv6 is set to true. I noticed that IPv6 addresses start appearing only after setting defaultRouteOnly to false.

# ip -6 route
2001:db8:85a3:ff01::/64 dev host-net proto ra metric 410 pref medium
fe80::/64 dev host-net proto kernel metric 1024 pref medium
default via fe80::6c3b:6bff:fec2:9880 dev host-net proto ra metric 410 pref medium
# ip -6 a s host-net
5: host-net@enp132s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    inet6 2001:db8:85a3:ff01:a136:18bc:be37:fe94/64 scope global dynamic noprefixroute 
       valid_lft 867sec preferred_lft 567sec
    inet6 fe80::5a3c:4b71:6c81:1e0d/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Version used

2.50.2

Bug prevalence

Always

Regression

Yes

Installation

GitHub Releases

Package manager

No response

Screenshots

No response

Configuration

System information

Too much sensitive information

Features built-in

hreads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
imagemagick6
chafa
zlib
xfconf
sqlite3
rpm
egl
glx
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
linux/videodev2
linux/wireless
Embedded pciids

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions