- rtnl_rttable_a2n wants an unsigned int32

This commit is contained in:
Bernhard Reutner-Fischer 2007-01-23 01:27:17 +00:00
parent 52848eecca
commit 425997223c

View File

@ -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);