Openssh-2.2.0pl1 for UnixWare 7.1

Orion Poplawski OPoplawski at cqg.com
Wed Nov 22 04:31:23 EST 2000


UnixWare (not sure when, 7? 7.1?) introduces a new sockaddr_in structure
that splits the 16 bit family entity into an 8-bit length and an 8-bit
familiy memember: (from in.h):

struct sockaddr_in {
#ifdef __NEW_SOCKADDR__
   sa_len_t sin_len; /* 8-bit structure length */
#endif
   sa_family_t     sin_family;   /* 8/16-bit address family (AF_INET) */
   in_port_t       sin_port;  /* 16-bit port number */
   struct in_addr  sin_addr;  /* 32-bit internet address */
   unsigned char   sin_zero[8];  /* optional with TLI */
};

This causes problems with the getaddrinfo() call in canohost.c, since the
family it uses is incorrect.

I'm not sure what the best way to support this in fake-socket.h is, but I
thought I'd point it out.

- Orion

-----------------------------------------------------------------------
Orion Poplawski, OPoplawski at cqg.com, Tel: (303) 440-4462x17, Fax: -4507
CQG, Inc., 250 Arapahoe Avenue, Boulder, CO 80302







More information about the openssh-unix-dev mailing list