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.
This commit is contained in:
parent
64bf7ec981
commit
8b2541fbaf
@ -40,5 +40,5 @@ message Stp {
|
||||
}
|
||||
|
||||
extend Protocol {
|
||||
optional Stp stp = 210;
|
||||
optional Stp stp = 209;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user