Module: kamailio
Branch: 5.4
Commit: 4f00ba425051718ecbf426591fdb14268ae92d94
URL:
https://github.com/kamailio/kamailio/commit/4f00ba425051718ecbf426591fdb142…
Author: Paris Stamatopoulos <paris(a)forin.gr>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-10-28T17:57:35Z
auth_radius, misc_radius: Adds VENDOR() definition if the freeradius-client.h does not
contain one already.
(cherry picked from commit 9978e00405cac89cc65d2d8a863128dd2814d7fd)
---
Modified: src/modules/misc_radius/radius.h
---
Diff:
https://github.com/kamailio/kamailio/commit/4f00ba425051718ecbf426591fdb142…
Patch:
https://github.com/kamailio/kamailio/commit/4f00ba425051718ecbf426591fdb142…
---
diff --git a/src/modules/misc_radius/radius.h b/src/modules/misc_radius/radius.h
index 120bb80caa..c5e9525715 100644
--- a/src/modules/misc_radius/radius.h
+++ b/src/modules/misc_radius/radius.h
@@ -42,6 +42,9 @@
#else
#include <freeradius-client.h>
#define DEFAULT_RADIUSCLIENT_CONF ""
+#ifndef VENDOR
+#define VENDOR(x) (((x) >> 16) & 0xffff)
+#endif
#endif