mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
added max-up & max-down
This commit is contained in:
committed by
Christian Giese
parent
03d6b575a9
commit
827f200499
@@ -191,6 +191,14 @@ json_parse_access_line_profile(json_t *config, bbl_access_line_profile_s *profil
|
||||
if(value) {
|
||||
profile->att_down = json_number_value(value);
|
||||
}
|
||||
value = json_object_get(config, "max-up");
|
||||
if(value) {
|
||||
profile->max_up = json_number_value(value);
|
||||
}
|
||||
value = json_object_get(config, "max-down");
|
||||
if(value) {
|
||||
profile->max_down = json_number_value(value);
|
||||
}
|
||||
value = json_object_get(config, "min-up-low");
|
||||
if(value) {
|
||||
profile->min_up_low = json_number_value(value);
|
||||
|
||||
Reference in New Issue
Block a user