Skip to content

Commit 906f825

Browse files
Wei Yongjundavem330
authored andcommitted
sctp: Add some missing types for debug message
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>
1 parent bcc2cb3 commit 906f825

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎net/sctp/debug.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ const char *sctp_cname(const sctp_subtype_t cid)
8686
case SCTP_CID_FWD_TSN:
8787
return "FWD_TSN";
8888

89+
case SCTP_CID_AUTH:
90+
return "AUTH";
91+
8992
default:
9093
break;
9194
}
@@ -135,6 +138,7 @@ static const char *sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = {
135138
"PRIMITIVE_ABORT",
136139
"PRIMITIVE_SEND",
137140
"PRIMITIVE_REQUESTHEARTBEAT",
141+
"PRIMITIVE_ASCONF",
138142
};
139143

140144
/* Lookup primitive debug name. */

0 commit comments

Comments
 (0)