[BACK]Return to key.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netipsec

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netipsec/key.c between version 1.9 and 1.10

version 1.9, 2004/03/02 02:22:56 version 1.10, 2004/03/17 00:17:45
Line 3752  key_ismyaddr6(sin6)
Line 3752  key_ismyaddr6(sin6)
                  * XXX scope                   * XXX scope
                  */                   */
                 in6m = NULL;                  in6m = NULL;
   #ifdef __FreeBSD__
                 IN6_LOOKUP_MULTI(sin6->sin6_addr, ia->ia_ifp, in6m);                  IN6_LOOKUP_MULTI(sin6->sin6_addr, ia->ia_ifp, in6m);
   #else
                   for ((in6m) = ia->ia6_multiaddrs.lh_first;
                        (in6m) != NULL &&
                        !IN6_ARE_ADDR_EQUAL(&(in6m)->in6m_addr, &sin6->sin6_addr);
                        (in6m) = in6m->in6m_entry.le_next)
                           continue;
   #endif
                 if (in6m)                  if (in6m)
                         return 1;                          return 1;
         }          }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVSweb <webmaster@jp.NetBSD.org>