diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-31 18:57:37 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-31 18:57:37 +0000 |
commit | 98ee06d3d46aa7f89c204681c7075b53300a6a6e (patch) | |
tree | 0f5cafbb22cd83fb73e024acba658c7a51582951 /networking/libiproute/ipaddress.c | |
parent | 806116b23407bdf95f22646f11f50b1d14e1cfc2 (diff) | |
download | busybox-w32-98ee06d3d46aa7f89c204681c7075b53300a6a6e.tar.gz busybox-w32-98ee06d3d46aa7f89c204681c7075b53300a6a6e.tar.bz2 busybox-w32-98ee06d3d46aa7f89c204681c7075b53300a6a6e.zip |
stop using __u32 etc. uint32_t is there for a reason
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r-- | networking/libiproute/ipaddress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index e6130e4d7..bc9963f1f 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c | |||
@@ -616,7 +616,7 @@ int ipaddr_list_or_flush(int argc, char **argv, int flush) | |||
616 | static int default_scope(inet_prefix *lcl) | 616 | static int default_scope(inet_prefix *lcl) |
617 | { | 617 | { |
618 | if (lcl->family == AF_INET) { | 618 | if (lcl->family == AF_INET) { |
619 | if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127) | 619 | if (lcl->bytelen >= 1 && *(uint8_t*)&lcl->data == 127) |
620 | return RT_SCOPE_HOST; | 620 | return RT_SCOPE_HOST; |
621 | } | 621 | } |
622 | return 0; | 622 | return 0; |