Changeset 40 for abuse/trunk/src/net/include/tcpip.hpp
- Timestamp:
- Mar 2, 2008, 12:52:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/net/include/tcpip.hpp
r39 r40 45 45 { 46 46 if (who->protocol_type()==IP && 47 !memcmp(&addr.sin_addr,& ((ip_address *)who)->addr.sin_addr,sizeof(addr.sin_addr)))47 !memcmp(&addr.sin_addr,& ((ip_address const *)who)->addr.sin_addr,sizeof(addr.sin_addr))) 48 48 return 1; 49 49 else return 0;
Note: See TracChangeset
for help on using the changeset viewer.