Currently, only the IPv4 is shown if available. I would also like to see the IPv6 if the interface has one.
This sounds like a nice addition. Would you want it to show both? We could have a new configuration option along the lines of the following:
[[block]]
block = "net"
show_ip = "ipv4" # Default
show_ip = "ipv6"
show_ip = "both"
I would have imagined it more like
[[block]]
block = "net"
show_ipv4 = "true" # Default
show_ipv6 = "true"
And yes, I'd like it to show both.
I'm wondering if net should be refactored to support templating instead of a ton of booleans?
@jedahan That would be nice. Are you up for the challenge?
In the meantime I added ipv6 as another bool option via #647.
Most helpful comment
I'm wondering if net should be refactored to support templating instead of a ton of booleans?