if (p->aspath->nexthop->flags & NEXTHOP_ANNOUNCE) prefix.flags |= F_RIB_ANNOUNCE;
rde_dump_rib_prefix(struct prefix *p, pid_t pid){	struct ctl_show_rib_prefix	 prefix;	prefix.lastchange = p->lastchange;	pt_getaddr(p->prefix, &prefix.prefix);	prefix.prefixlen = p->prefix->prefixlen;	prefix.flags = 0;	if (p->prefix->active == p)		prefix.flags |= F_RIB_ACTIVE;	if (p->peer->conf.ebgp == 0)		prefix.flags |= F_RIB_INTERNAL;	if (p->aspath->nexthop->state == NEXTHOP_REACH)		prefix.flags |= F_RIB_ELIGIBLE;	if (p->aspath->nexthop->flags & NEXTHOP_ANNOUNCE)		prefix.flags |= F_RIB_ANNOUNCE;	if (imsg_compose_pid(&ibuf_se, IMSG_CTL_SHOW_RIB_PREFIX, pid,	    &prefix, sizeof(prefix)) == -1)		log_warnx("rde_dump_as: imsg_compose error");}