mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
display members active in lag-info command
This commit is contained in:
@@ -358,11 +358,12 @@ bbl_lag_json(bbl_lag_s *lag)
|
||||
}
|
||||
}
|
||||
|
||||
jobj_lag = json_pack("{si ss* ss* si so*}",
|
||||
jobj_lag = json_pack("{si ss* ss* si si so*}",
|
||||
"id", lag->id,
|
||||
"interface", lag->interface->name,
|
||||
"state", interface_state_string(lag->interface->state),
|
||||
"state-transitions", lag->interface->state_transitions,
|
||||
"members-active", lag->active_count,
|
||||
"members", jobj_array);
|
||||
|
||||
return jobj_lag;
|
||||
|
||||
Reference in New Issue
Block a user