From 6b73cc15da536371761ae0b801e48e145e032f6c Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Sat, 10 Feb 2024 18:28:28 +0300 Subject: [PATCH] FreeBSD compatibility for module-rtp-sap --- src/modules/module-rtp-sap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/module-rtp-sap.c b/src/modules/module-rtp-sap.c index 3ac9d68d0..2429c06fc 100644 --- a/src/modules/module-rtp-sap.c +++ b/src/modules/module-rtp-sap.c @@ -30,6 +30,7 @@ #ifdef __FreeBSD__ #define ifr_ifindex ifr_index +#define SO_PASSCRED LOCAL_CREDS_PERSISTENT #endif /** \page page_module_rtp_sap SAP Announce and create RTP streams