Commit 3b97a721b4 for frr
commit 3b97a721b48354777e10453b888848dba39a5adc
Author: Yeshvanth Raju Kurapati <yeshvanthraju.k@gmail.com>
Date: Mon Oct 12 11:25:27 2026 -0500
babeld: fix inverted interface check in send_request(NULL, ...)
Signed-off-by: Yeshvanth Raju Kurapati <yeshvanthraju.k@gmail.com>
diff --git a/babeld/message.c b/babeld/message.c
index 47f8a8fca4..31aabed7f2 100644
--- a/babeld/message.c
+++ b/babeld/message.c
@@ -1903,7 +1903,7 @@ void send_request(struct interface *ifp, const unsigned char *prefix, unsigned c
struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);
struct interface *ifp_aux;
FOR_ALL_INTERFACES (vrf, ifp_aux) {
- if (if_up(ifp_aux))
+ if (!if_up(ifp_aux))
continue;
send_request(ifp_aux, prefix, plen);
}