Asterisk boxes with mismatched ie_maps.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121649
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return "";
}
+ if (ie_maps[ie_type].ie_type != ie_type) {
+ ast_log(LOG_ERROR, "The ie type passed in does not match the ie type defined in the ie table.\n");
+ return "";
+ }
+
return ie_maps[ie_type].name;
}
return AST_EVENT_IE_PLTYPE_UNKNOWN;
}
+ if (ie_maps[ie_type].ie_type != ie_type) {
+ ast_log(LOG_ERROR, "The ie type passed in does not match the ie type defined in the ie table.\n");
+ return AST_EVENT_IE_PLTYPE_UNKNOWN;
+ }
+
return ie_maps[ie_type].ie_pltype;
}