Skip to content

Commit

Permalink
anycast address must not be used. report by <Francis.Dupont@enst-bret…
Browse files Browse the repository at this point in the history
…agne.fr>
  • Loading branch information
sakane committed Apr 15, 2004
1 parent aa16c99 commit caf7e24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kame/kame/racoon/grabmyaddr.c
@@ -1,4 +1,4 @@
/* $KAME: grabmyaddr.c,v 1.36 2003/10/23 09:53:58 itojun Exp $ */
/* $KAME: grabmyaddr.c,v 1.37 2004/04/15 08:22:14 sakane Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -394,8 +394,9 @@ suitable_ifaddr6(ifname, ifaddr)

close(s);

if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DUPLICATED
|| ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DETACHED)
if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DUPLICATED ||
ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DETACHED ||
ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_ANYCAST)
return 0;

/* suitable */
Expand Down

0 comments on commit caf7e24

Please sign in to comment.