From b290bb12514bc9b79b23b1b125a02f565d366a5b Mon Sep 17 00:00:00 2001
From: Alexander Traud <pabstraud@compuserve.com>
Date: Thu, 25 Nov 2021 17:34:13 +0100
Subject: [PATCH] stir/shaken: Avoid a compiler extension of GCC.

ASTERISK-29776

Change-Id: I86e5eca66fb775a5744af0c929fb269e70575a73
---
 res/res_pjsip/pjsip_configuration.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index f324bbbc81..e32a3d20dc 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -740,7 +740,7 @@ static int stir_shaken_handler(const struct aco_option *opt, struct ast_variable
 }
 
 static const char *stir_shaken_map[] = {
-	[AST_SIP_STIR_SHAKEN_OFF] "off",
+	[AST_SIP_STIR_SHAKEN_OFF] = "off",
 	[AST_SIP_STIR_SHAKEN_ATTEST] = "attest",
 	[AST_SIP_STIR_SHAKEN_VERIFY] = "verify",
 	[AST_SIP_STIR_SHAKEN_ON] = "on",
-- 
GitLab