Skip to content

Commit

Permalink
sctp: Add some missing types for debug message
Browse files Browse the repository at this point in the history
This patch add the type name "AUTH" and primitive type name
"PRIMITIVE_ASCONF" for debug message.

Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Vlad Yasevich <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Wei Yongjun authored and davem330 committed Mar 3, 2009
1 parent bcc2cb3 commit 906f825
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net/sctp/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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. */
Expand Down

0 comments on commit 906f825

Please sign in to comment.