]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-m3ua.c
CVE-2017-13687/CHDLC: Improve bounds and length checks.
[tcpdump] / print-m3ua.c
index 40e5238952843c2aebbc93e22d026d58a3fae91f..71a585ffed2b1e2a1f2034a39973cfbad3bce3fc 100644 (file)
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/* \summary: Message Transfer Part 3 (MTP3) User Adaptation Layer (M3UA) printer */
+
+/* RFC 4666 */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -32,9 +36,6 @@
 #include "extract.h"
 
 static const char tstr[] = " [|m3ua]";
-static const char istr[] = " (invalid)";
-
-/* RFC 4666 */
 
 #define M3UA_REL_1_0 1
 
@@ -66,7 +67,7 @@ static const struct tok MessageClasses[] = {
        { M3UA_MSGC_SSNM,     "SS7"                   },
        { M3UA_MSGC_ASPSM,    "ASP"                   },
        { M3UA_MSGC_ASPTM,    "ASP"                   },
-       { M3UA_MSGC_RKM,      "Routing Key Managment" },
+       { M3UA_MSGC_RKM,      "Routing Key Management"},
        { 0, NULL }
 };