sctp: Add some missing types for debug message
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 2 Mar 2009 09:46:10 +0000 (09:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 06:49:16 +0000 (22:49 -0800)
This patch add the type name "AUTH" and primitive type name
"PRIMITIVE_ASCONF" for debug message.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/debug.c

index 67715f4eb8495e49fa3eb21fa33a96bf80c51514..7ff548a30cfb63b7a85147faed3292c574ae18ef 100644 (file)
@@ -86,6 +86,9 @@ const char *sctp_cname(const sctp_subtype_t cid)
        case SCTP_CID_FWD_TSN:
                return "FWD_TSN";
 
+       case SCTP_CID_AUTH:
+               return "AUTH";
+
        default:
                break;
        }
@@ -135,6 +138,7 @@ static const char *sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = {
        "PRIMITIVE_ABORT",
        "PRIMITIVE_SEND",
        "PRIMITIVE_REQUESTHEARTBEAT",
+       "PRIMITIVE_ASCONF",
 };
 
 /* Lookup primitive debug name. */