Change-Id: I9faaa321113e435844931247f23dbc1d190cc9da
Signed-off-by: Florin Coras <fcoras@cisco.com>
&locator.weight))
{
locator.local = 1;
&locator.weight))
{
locator.local = 1;
vec_add1 (locators, locator);
}
else
vec_add1 (locators, locator);
}
else
LOC_MWEIGHT (p) = loc->mweight;
LOC_LOCAL (p) = loc->local;
LOC_PROBED (p) = loc->probed ? 1 : 0;
LOC_MWEIGHT (p) = loc->mweight;
LOC_LOCAL (p) = loc->local;
LOC_PROBED (p) = loc->probed ? 1 : 0;
+ LOC_REACHABLE (p) = loc->state ? 1 : 0;
lisp_msg_put_gid (b, &loc->address);
}
}
lisp_msg_put_gid (b, &loc->address);
}
}
&locator.weight))
{
locator.local = 1;
&locator.weight))
{
locator.local = 1;
vec_add1 (locators, locator);
}
else
vec_add1 (locators, locator);
}
else