Add option path rate tx/rx
These two options are mandatory since dynamic shapping is disabled for now. Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
@@ -252,7 +252,8 @@ gt_bind(int argc, char **argv)
|
||||
case CTL_NONE:
|
||||
break;
|
||||
case CTL_STATE:
|
||||
if (mud_set_state(mud, (struct sockaddr *)&req.path.addr, req.path.state))
|
||||
if (mud_set_state(mud, (struct sockaddr *)&req.path.addr,
|
||||
req.path.state, req.path.rate_tx, req.path.rate_rx))
|
||||
res.ret = errno;
|
||||
break;
|
||||
case CTL_PATH_STATUS:
|
||||
|
||||
Reference in New Issue
Block a user