summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-23 01:27:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-23 01:27:17 +0000
commit425997223c4bc6d2ea54d351315e2bfd03941482 (patch)
treec701e3d39f6d9347a285a226ca27307ef1a2ec0f
parent52848eecca9d7d7fd6b8e46d8cdc9983f008dd40 (diff)
- rtnl_rttable_a2n wants an unsigned int32
-rw-r--r--networking/libiproute/iprule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c
index 2f3dc9841..abc0e7a85 100644
--- a/networking/libiproute/iprule.c
+++ b/networking/libiproute/iprule.c
@@ -256,7 +256,7 @@ static int iprule_modify(int cmd, int argc, char **argv)
addattr32(&req.n, sizeof(req), RTA_FLOW, realm);
} else if (matches(*argv, "table") == 0 ||
strcmp(*argv, "lookup") == 0) {
- int tid;
+ unsigned int tid;
NEXT_ARG();
if (rtnl_rttable_a2n(&tid, *argv))
invarg("table ID", *argv);