Skip to content

Commit

Permalink
A global home agent are registered into a home agent list even if
Browse files Browse the repository at this point in the history
on-link bit in a prefix information option is not set.
  • Loading branch information
t-momose committed Jan 22, 2004
1 parent 00147a1 commit 93293e3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions kame/kame/had/haadisc.c
@@ -1,4 +1,4 @@
/* $KAME: haadisc.c,v 1.15 2004/01/20 04:18:20 t-momose Exp $ */
/* $KAME: haadisc.c,v 1.16 2004/01/22 09:45:26 t-momose Exp $ */

/*
* Copyright (C) 2001 WIDE Project.
Expand Down Expand Up @@ -30,7 +30,7 @@
*/

/*
* $Id: haadisc.c,v 1.15 2004/01/20 04:18:20 t-momose Exp $
* $Id: haadisc.c,v 1.16 2004/01/22 09:45:26 t-momose Exp $
*/

/*
Expand Down Expand Up @@ -735,8 +735,7 @@ ra_input(len, ra, pinfo, from)
}

/* onlink and R bit is set XXX */
if ((pi->nd_opt_pi_flags_reserved & ND_OPT_PI_FLAG_ONLINK)
&& (pi->nd_opt_pi_flags_reserved & ND_OPT_PI_FLAG_ROUTER)) {
if ((pi->nd_opt_pi_flags_reserved & ND_OPT_PI_FLAG_ROUTER) != 0) {
/* IMPLID:MIP6HA#14 */
lastp = hal_gaddr_add(halp, lastp, pi);
}
Expand Down

0 comments on commit 93293e3

Please sign in to comment.