We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f611ed commit 2b5efafCopy full SHA for 2b5efaf
src/interface_monitor_linux.cpp
@@ -199,7 +199,8 @@ class InterfaceMonitorImpl : public InterfaceMonitor {
199
if (addrFamily == AF_INET6 && m_config->enableIPv6()) {
200
if (RTA_PAYLOAD(rta) >= sizeof(ip::address_v6::bytes_type)) {
201
ip::address_v6 addr6(*(ip::address_v6::bytes_type*)data);
202
- if (addr6.is_link_local()) {
+ if (addr6.is_link_local() ||
203
+ (m_config->enableLoopback() && addr6.is_loopback())) {
204
addr6.scope_id(ifIndex);
205
res.addr.emplace(addr6);
206
}
0 commit comments