From 409b040b29df445c4c341294c1bef5c6773b05c3 Mon Sep 17 00:00:00 2001 From: Nick Porter Date: Tue, 11 Feb 2025 10:58:21 +0000 Subject: [PATCH] Invalid IP address family is an error --- src/modules/rlm_radius/bio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/rlm_radius/bio.c b/src/modules/rlm_radius/bio.c index 773fbae1e1..25988b2626 100644 --- a/src/modules/rlm_radius/bio.c +++ b/src/modules/rlm_radius/bio.c @@ -2510,8 +2510,8 @@ static xlat_action_t xlat_radius_replicate(UNUSED TALLOC_CTX *ctx, UNUSED fr_dcu * Can't change IP address families. */ if (ipaddr->vb_ip.af != thread->ctx.fd_info->socket.af) { - RDEBUG("Invalid destination IP address family in %pV", ipaddr); - return -1; + RPERROR("Invalid destination IP address family in %pV", ipaddr); + return XLAT_ACTION_FAIL; } /* -- 2.47.3