X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0880b18ef40ee52f08a23527900e6354275bcc33..763af25969e565386225b5d855c4c838855a107b:/usr/src/sys/netinet/in.c diff --git a/usr/src/sys/netinet/in.c b/usr/src/sys/netinet/in.c index 841ce3c5f6..5085f9ee70 100644 --- a/usr/src/sys/netinet/in.c +++ b/usr/src/sys/netinet/in.c @@ -3,7 +3,7 @@ * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * - * @(#)in.c 7.1 (Berkeley) %G% + * @(#)in.c 7.2 (Berkeley) %G% */ #include "param.h" @@ -155,7 +155,7 @@ in_localaddr(in) net = i & IN_CLASSC_NET; for (ia = in_ifaddr; ia; ia = ia->ia_next) - if (net == subnetsarelocal ? ia->ia_net : ia->ia_subnet) + if (net == (subnetsarelocal ? ia->ia_net : ia->ia_subnet)) return (1); return (0); }