mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
fix lacp-max-active-links config
This commit is contained in:
@ -292,7 +292,7 @@ json_parse_lag(json_t *lag, bbl_lag_config_s *lag_config)
|
||||
}
|
||||
value = json_object_get(lag, "lacp-max-active-links");
|
||||
if(value) {
|
||||
lag_config->lacp_min_active_links = json_number_value(value);
|
||||
lag_config->lacp_max_active_links = json_number_value(value);
|
||||
} else {
|
||||
lag_config->lacp_max_active_links = UINT8_MAX;
|
||||
}
|
||||
|
Reference in New Issue
Block a user