From 606bd6d163616a87a7e4a768f222ab0d9e1941a1 Mon Sep 17 00:00:00 2001 From: Victor Boivie Date: Sun, 11 Apr 2021 20:44:54 +0200 Subject: [PATCH] dcsctp: Use correct field width for PPID When migrating to use StrongAlias types, the PPID was incorrectly modeled as an uint16_t instead of a uint32_t, as it was prior to using StrongAlias. Most likely a copy-paste error from StreamID. As the Data Channel PPIDs are in the range of 51-57, it was never caught in tests. Bug: webrtc:12614 Change-Id: I2b61ef7935df1222068e7f4e70fc2aaa532dcf7b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214960 Reviewed-by: Tommi Reviewed-by: Florent Castelli Commit-Queue: Victor Boivie Cr-Commit-Position: refs/heads/master@{#33687} --- net/dcsctp/public/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dcsctp/public/types.h b/net/dcsctp/public/types.h index 31c3f946b3..0b22fa8b41 100644 --- a/net/dcsctp/public/types.h +++ b/net/dcsctp/public/types.h @@ -19,7 +19,7 @@ namespace dcsctp { using StreamID = StrongAlias; // Payload Protocol Identifier (PPID) -using PPID = StrongAlias; +using PPID = StrongAlias; // Timeout Identifier using TimeoutID = StrongAlias;