- /*
- * Point to point links are a little touchier --
- * We have to have an address of our own first,
- * and will use the supplied address as that of the other end.
- */
- if (ifp->if_flags & IFF_POINTOPOINT) {
- struct sockaddr_ns *sns2 = IA_SNS(ia);
- if (ns_hosteqnh(ns_zerohost,ns_thishost))
- return(EINVAL);
- ia->ia_dstaddr = ia->ia_addr;
- sns2->sns_addr.x_host = ns_thishost;
- sns->sns_addr.x_host = ns_thishost;
- }