diff options
author | sangeeta <none@none> | 2007-12-03 14:00:21 -0800 |
---|---|---|
committer | sangeeta <none@none> | 2007-12-03 14:00:21 -0800 |
commit | 635ad929b1c9dfc0b3e4defaa2738fdbf4fa9725 (patch) | |
tree | a2c4e35ca52971e4971155fe1da1ab37432fdeee /usr | |
parent | 3103d4ce07960f0cb95a80a38f5db8ecaea20faf (diff) | |
download | illumos-gate-635ad929b1c9dfc0b3e4defaa2738fdbf4fa9725.tar.gz |
6605607 Remove Class-E checks from kernel (fix cstyle)
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c b/usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c index dafb0980d0..2913f44669 100644 --- a/usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c +++ b/usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c @@ -1158,7 +1158,7 @@ calculate_lifc_len: } ifs.int_net = ntohl(sinp->sin_addr.s_addr); if (IN_CLASSD(ntohl(ifs.int_net)) || - (ifs.int_net != 0 && + (ifs.int_net != 0 && (ifs.int_net & IN_CLASSA_NET) == 0)) { if (IS_IFF_UP(ifs.int_if_flags)) { if (!(prev_complaints & COMP_NODST)) @@ -1222,7 +1222,7 @@ calculate_lifc_len: } haddr = ntohl(sinp->sin_addr.s_addr); if (IN_CLASSD(haddr) || - (haddr & IN_CLASSA_NET) == 0) { + (haddr & IN_CLASSA_NET) == 0) { if (IS_IFF_UP(ifs.int_if_flags)) { if (!(prev_complaints & COMP_NOBADDR)) writelog(LOG_NOTICE, |