diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-01-30 18:00:02 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-01-30 18:00:02 +0000 |
commit | d78aea8b8eb1da818c04929a2bddbed01a796c58 (patch) | |
tree | 601a057c6160d3474cd4c0d1f3ae6d6e5b5cab17 /networking/libiproute/iproute.c | |
parent | 4bf31272ff074e5383b61f43aa270b50908991f8 (diff) | |
download | busybox-w32-d78aea8b8eb1da818c04929a2bddbed01a796c58.tar.gz busybox-w32-d78aea8b8eb1da818c04929a2bddbed01a796c58.tar.bz2 busybox-w32-d78aea8b8eb1da818c04929a2bddbed01a796c58.zip |
sort out yet more type issues
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r-- | networking/libiproute/iproute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 1c4f75520..7b5130050 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -347,7 +347,7 @@ static int iproute_modify(int cmd, unsigned flags, int argc, char **argv) | |||
347 | } | 347 | } |
348 | rta_addattr32(mxrta, sizeof(mxbuf), RTAX_MTU, mtu); | 348 | rta_addattr32(mxrta, sizeof(mxbuf), RTAX_MTU, mtu); |
349 | } else if (matches(*argv, "protocol") == 0) { | 349 | } else if (matches(*argv, "protocol") == 0) { |
350 | int prot; | 350 | uint32_t prot; |
351 | NEXT_ARG(); | 351 | NEXT_ARG(); |
352 | if (rtnl_rtprot_a2n(&prot, *argv)) | 352 | if (rtnl_rtprot_a2n(&prot, *argv)) |
353 | invarg("\"protocol\" value is invalid\n", *argv); | 353 | invarg("\"protocol\" value is invalid\n", *argv); |
@@ -493,7 +493,7 @@ static int iproute_list_or_flush(int argc, char **argv, int flush) | |||
493 | 493 | ||
494 | while (argc > 0) { | 494 | while (argc > 0) { |
495 | if (matches(*argv, "protocol") == 0) { | 495 | if (matches(*argv, "protocol") == 0) { |
496 | int prot = 0; | 496 | uint32_t prot = 0; |
497 | NEXT_ARG(); | 497 | NEXT_ARG(); |
498 | filter.protocolmask = -1; | 498 | filter.protocolmask = -1; |
499 | if (rtnl_rtprot_a2n(&prot, *argv)) { | 499 | if (rtnl_rtprot_a2n(&prot, *argv)) { |