- rtnl_rttable_a2n wants an unsigned int32
This commit is contained in:
parent
52848eecca
commit
425997223c
@ -256,7 +256,7 @@ static int iprule_modify(int cmd, int argc, char **argv)
|
|||||||
addattr32(&req.n, sizeof(req), RTA_FLOW, realm);
|
addattr32(&req.n, sizeof(req), RTA_FLOW, realm);
|
||||||
} else if (matches(*argv, "table") == 0 ||
|
} else if (matches(*argv, "table") == 0 ||
|
||||||
strcmp(*argv, "lookup") == 0) {
|
strcmp(*argv, "lookup") == 0) {
|
||||||
int tid;
|
unsigned int tid;
|
||||||
NEXT_ARG();
|
NEXT_ARG();
|
||||||
if (rtnl_rttable_a2n(&tid, *argv))
|
if (rtnl_rttable_a2n(&tid, *argv))
|
||||||
invarg("table ID", *argv);
|
invarg("table ID", *argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user