Add rate fixed|auto option

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2020-01-07 12:46:28 +00:00
parent ac167e74f5
commit 0b26eb108d
4 changed files with 15 additions and 5 deletions

View File

@@ -304,7 +304,8 @@ gt_bind(int argc, char **argv)
break;
case CTL_STATE:
if (mud_set_state(mud, (struct sockaddr *)&req.path.addr,
req.path.state, req.path.rate_tx, req.path.rate_rx, 0))
req.path.state, req.path.rate_tx,
req.path.rate_rx, 0, req.path.fixed_rate))
res.ret = errno;
break;
case CTL_PATH_STATUS: