fixed issue in grpc get emane model configs that would allow key collision

This commit is contained in:
Blake Harnden 2019-12-13 14:18:13 -08:00
parent 9ada94107e
commit 9d988a4b13
3 changed files with 16 additions and 12 deletions

View file

@ -664,11 +664,12 @@ message GetEmaneModelConfigsRequest {
message GetEmaneModelConfigsResponse {
message ModelConfig {
string model = 1;
map<string, ConfigOption> config = 2;
int32 node_id = 1;
string model = 2;
int32 interface = 3;
map<string, ConfigOption> config = 4;
}
map<int32, ModelConfig> configs = 1;
repeated ModelConfig configs = 1;
}
message SaveXmlRequest {