mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 23:43:20 +02:00
avahi-browse returns 127.0.0.1 (or ::1) when resolving services on the same machine netbrowse is running on. These addresses are meaningless for display and misleading as click targets. Skip the entire 127.x/::1 range and link-local (fe80:) when choosing the preferred address for a host card; the card addr field is simply omitted if no routable address is seen. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>