From: Alexander Traud Date: Thu, 25 Nov 2021 16:34:13 +0000 (+0100) Subject: stir/shaken: Avoid a compiler extension of GCC. X-Git-Tag: 18.9.0-rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b290bb12514bc9b79b23b1b125a02f565d366a5b;p=thirdparty%2Fasterisk.git stir/shaken: Avoid a compiler extension of GCC. ASTERISK-29776 Change-Id: I86e5eca66fb775a5744af0c929fb269e70575a73 --- 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",