aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-31 18:57:37 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-31 18:57:37 +0000
commit98ee06d3d46aa7f89c204681c7075b53300a6a6e (patch)
tree0f5cafbb22cd83fb73e024acba658c7a51582951 /networking/libiproute/ipaddress.c
parent806116b23407bdf95f22646f11f50b1d14e1cfc2 (diff)
downloadbusybox-98ee06d3d46aa7f89c204681c7075b53300a6a6e.tar.gz
stop using __u32 etc. uint32_t is there for a reason
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c2
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)
static int default_scope(inet_prefix *lcl)
{
if (lcl->family == AF_INET) {
- if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127)
+ if (lcl->bytelen >= 1 && *(uint8_t*)&lcl->data == 127)
return RT_SCOPE_HOST;
}
return 0;