Skip to contentSkip to conversation

sctp: Add some missing types for debug message

PATCH In review Wei Yongjun 1 participant 1 message Feb 19, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 sctp: Add some missing types for debug message

This patch add the type name "AUTH" and primitive type name "PRIMITIVE_ASCONF" for debug message.

---
 net/sctp/debug.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
net/sctp/debug.c +4 -0
index 67715f4..7ff548a 100644
@@ -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. */
Signature · 1 line
1.5.3.8