X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7ea344d76a21255867275a199d1ddb1e5b358f77..6c8ef0eb86a39c277d1a43802dd8ea01b51cfb2a:/print-m3ua.c diff --git a/print-m3ua.c b/print-m3ua.c index 463a9540..71a585ff 100644 --- a/print-m3ua.c +++ b/print-m3ua.c @@ -22,19 +22,20 @@ * 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 -#include +#include #include "netdissect.h" #include "extract.h" static const char tstr[] = " [|m3ua]"; -static const char cstr[] = " (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 } }; @@ -229,7 +230,7 @@ tag_value_print(netdissect_options *ndo, return; invalid: - ND_PRINT((ndo, "%s", cstr)); + ND_PRINT((ndo, "%s", istr)); ND_TCHECK2(*buf, size); return; trunc: @@ -277,7 +278,7 @@ m3ua_tags_print(netdissect_options *ndo, return; invalid: - ND_PRINT((ndo, "%s", cstr)); + ND_PRINT((ndo, "%s", istr)); ND_TCHECK2(*buf, size); return; trunc: @@ -329,7 +330,7 @@ m3ua_print(netdissect_options *ndo, return; invalid: - ND_PRINT((ndo, "%s", cstr)); + ND_PRINT((ndo, "%s", istr)); ND_TCHECK2(*buf, size); return; trunc: