From 8b2541fbaf0f16f1cc9cd733efdc6a1393125afb Mon Sep 17 00:00:00 2001 From: Srivats P Date: Mon, 10 Apr 2017 20:59:17 +0530 Subject: [PATCH] Fix incorrect extension id for STP There was a discrepancy between Protocol::kStpFieldNumber (209) and the one defined in stp.proto (210) which caused protobuf reflection to fail when queried for a descriptor corresponding to 209. Referencing the null descriptor further in the code caused a crash. --- common/stp.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/stp.proto b/common/stp.proto index 82d0e07..89a5223 100644 --- a/common/stp.proto +++ b/common/stp.proto @@ -40,5 +40,5 @@ message Stp { } extend Protocol { - optional Stp stp = 210; + optional Stp stp = 209; }