diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-05-02 05:33:17 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-05-02 05:33:17 +0000 |
commit | 9f9968b216d8a5ba4a4015de4bbc71357388ff75 (patch) | |
tree | 338b7e4bce26a151ba76bc69293751bfe544c706 /ace/SOCK_Dgram_Bcast.cpp | |
parent | 4da55c6175ddeb43ea7f9b56f3a313cdb65b6312 (diff) | |
download | ATCD-9f9968b216d8a5ba4a4015de4bbc71357388ff75.tar.gz |
ChangeLogTag: Thu May 2 00:29:34 2002 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'ace/SOCK_Dgram_Bcast.cpp')
-rw-r--r-- | ace/SOCK_Dgram_Bcast.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/SOCK_Dgram_Bcast.cpp b/ace/SOCK_Dgram_Bcast.cpp index e819e798555..dae2953bd35 100644 --- a/ace/SOCK_Dgram_Bcast.cpp +++ b/ace/SOCK_Dgram_Bcast.cpp @@ -2,6 +2,7 @@ #include "ace/SOCK_Dgram_Bcast.h" #include "ace/Log_Msg.h" +#include "ace/ACE.h" #if defined (ACE_LACKS_INLINE_FUNCTIONS) #include "ace/SOCK_Dgram_Bcast.i" @@ -159,7 +160,7 @@ ACE_SOCK_Dgram_Bcast::mk_broadcast (const ACE_TCHAR *host_name) n--, ((ifr->ifr_addr.sa_len <= sizeof (struct sockaddr)) ? ifr++ : - ifr = (struct ifreq *) + ifr = (struct ifreq *) (ifr->ifr_addr.sa_len + (caddr_t) &ifr->ifr_addr))) #endif /* CHORUS_4 */ { |