From 6f7be356f58deb22f8741e55ef16118a934b567b 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 839c131ac..0261b08dd 100644 --- a/src/modules/module-rtp-sap.c +++ b/src/modules/module-rtp-sap.c @@ -26,6 +26,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