+ if (msg->rip_vers > 0) {
+ n->rip_dst.sa_family =
+ ntohs(n->rip_dst.sa_family);
+ n->rip_metric = ntohl(n->rip_metric);
+ }
+ if ((unsigned) n->rip_metric >= HOPCNT_INFINITY)
+ continue;
+ if (n->rip_dst.sa_family >= AF_MAX)
+ continue;
+ afp = &afswitch[n->rip_dst.sa_family];
+ if (((*afp->af_checkhost)(&n->rip_dst)) == 0)