diff options
Diffstat (limited to 'ACE/ace/Sock_Connect.cpp')
-rw-r--r-- | ACE/ace/Sock_Connect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Sock_Connect.cpp b/ACE/ace/Sock_Connect.cpp index f6ebfd7cf63..c6a9c580fce 100644 --- a/ACE/ace/Sock_Connect.cpp +++ b/ACE/ace/Sock_Connect.cpp @@ -1399,10 +1399,10 @@ return 0; // algorithm // Probably hard to put this many ifs in a unix box.. - int const MAX_IF = 50; + int const MAX_INTERFACES = 50; // HACK - set to an unreasonable number - int const num_ifs = MAX_IF; + int const num_ifs = MAX_INTERFACES; struct ifconf ifcfg; size_t ifreq_size = num_ifs * sizeof (struct ifreq); |