lisp: set reachable flag in map-register
[vpp.git] / src / vnet / lisp-cp / lisp_msg_serdes.c
index f45f08f..90afb10 100644 (file)
@@ -34,6 +34,7 @@ lisp_msg_put_locators (vlib_buffer_t * b, locator_t * locators)
     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);
   }
 }