]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
kernel-pfroute: Log ignored interfaces when listing known interfaces
authorTobias Brunner <tobias@strongswan.org>
Fri, 15 Mar 2024 12:47:23 +0000 (13:47 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 15 Mar 2024 12:47:23 +0000 (13:47 +0100)
src/libcharon/plugins/kernel_pfroute/kernel_pfroute_net.c

index 02a8b59253c8287e7327a319e261f1306292540c..815ba255874d9806b45f32efe64435f3536e730d 100644 (file)
@@ -2049,6 +2049,11 @@ static status_t init_address_list(private_kernel_pfroute_net_t *this)
                        }
                        addrs->destroy(addrs);
                }
+               else
+               {
+                       DBG3(DBG_KNL, "  %s (ignored, %s)", iface->ifname,
+                                iface->usable ? "down" : "configuration");
+               }
        }
        ifaces->destroy(ifaces);