stop using __u32 etc. uint32_t is there for a reason

This commit is contained in:
Denis Vlasenko
2006-12-31 18:57:37 +00:00
parent 806116b234
commit 98ee06d3d4
16 changed files with 160 additions and 177 deletions

View File

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