]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
check for Proxy-To-Originating-Realm, too
authorAlan T. DeKok <aland@freeradius.org>
Fri, 2 Apr 2021 19:27:48 +0000 (15:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 22 Jul 2021 13:55:23 +0000 (09:55 -0400)
src/main/listen.c

index f0496a3fc40ba7c68ae24e7cf890794f295f33ee..6050142cf2b4b4c617f454033402546da40c3331 100644 (file)
@@ -1826,6 +1826,10 @@ static int do_proxy(REQUEST *request)
        vp = fr_pair_find_by_num(request->config, PW_PACKET_DST_IP_ADDRESS, 0, TAG_ANY);
        if (!vp) vp = fr_pair_find_by_num(request->config, PW_PACKET_DST_IPV6_ADDRESS, 0, TAG_ANY);
 
+#ifdef WITH_COA_TUNNEL
+       if (!vp) vp = fr_pair_find_by_num(request->config, PW_PROXY_TO_ORIGINATING_REALM, 0, TAG_ANY);
+#endif
+
        if (!vp) return 0;
 
        return 1;