uh, the scope_id detection #defined the wrong constant. libowfat

always thought there was no scope_id.  Oops.
This commit is contained in:
leitner
2005-02-02 19:34:00 +00:00
parent 4a3c687ea9
commit d6b7c29808
7 changed files with 8 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ int socket_accept6(int s,char* ip,uint16* port,uint32* scope_id)
}
if (ip) byte_copy(ip,16,(char *) &sa.sin6_addr);
if (port) uint16_unpack_big((char *) &sa.sin6_port,port);
#ifdef HAVE_SCOPE_ID
#ifdef LIBC_HAS_SCOPE_ID
if (scope_id) *scope_id=sa.sin6_scope_id;
#else
if (scope_id) *scope_id=0;