(file) Return to System.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/System.cpp between version 1.68 and 1.68.2.1

version 1.68, 2008/03/07 19:17:34 version 1.68.2.1, 2008/06/30 14:28:44
Line 596 
Line 596 
             return !memcmp(&ip6, binIPAddress, sizeof (ip6));             return !memcmp(&ip6, binIPAddress, sizeof (ip6));
 #endif #endif
         case AF_INET:         case AF_INET:
             Uint32 n = ntohl( *(Uint32*)binIPAddress);          {
               Uint32 tmp;
               memcpy(&tmp, binIPAddress, sizeof(Uint32));
               Uint32 n = ntohl(tmp);
             return !memcmp(&ip4, &n, sizeof (ip4));             return !memcmp(&ip4, &n, sizeof (ip4));
     }     }
       }
  
     return false;     return false;
 } }


Legend:
Removed from v.1.68  
changed lines
  Added in v.1.68.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2