diff options
Diffstat (limited to 'comm')
-rw-r--r-- | comm/Address.cc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/comm/Address.cc b/comm/Address.cc index e0e4f4b..779ae08 100644 --- a/comm/Address.cc +++ b/comm/Address.cc @@ -1,17 +1,17 @@ /* - * The Unix Channel + * Ivy League * - * by Michel Beaudouin-Lafon + * Socket addresses * - * Copyright 1990-1997 + * Copyright 1990-2000 * Laboratoire de Recherche en Informatique (LRI) + * Centre d'Etudes de la Navigation Aerienne (CENA) * - * Addresses + * original code by Michel Beaudouin-Lafon, + * modified by Stephane Chatty and Stephane Sire * * $Id$ - * $CurLog$ - * Smart(ies) removed by Stephane Sire - * Added buffered hostname to IvlInetAddress + * */ #include "Address.h" @@ -129,7 +129,8 @@ IvlAddress :: Decode (GEN_ADDR* addr, int alen) #endif #ifdef IRDA_SOCK case AF_IRDA : - return new IvlIrdaAddress (addr->sir.sir_name); + return new IvlIrdaAddress (addr->sir.sir_addr, + addr->sir.sir_name); #endif case AF_INET : return new IvlInetAddress (ntohl (addr->si.sin_addr.s_addr), |