...
This commit is contained in:
parent
df7b18fe82
commit
5f5fc24561
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ void shelldebugprint(char* x)
|
|||
void shell_on_connect(ServerEventArgs* e)
|
||||
{
|
||||
kprintf("connection from %s:%d",inet_ntoa(srv.ConnectionsAddr[e->ClientID].sin_addr),ntohs(srv.ConnectionsAddr[e->ClientID].sin_port));
|
||||
kprintf("connehx: 0x%.8X",srv.ConnectionsAddr[e->ClientID].sin_addr);
|
||||
// if (srv.ConnectionsAddr[e->ClientID].sin_addr.s_addr > 0xC0A80031 || srv.ConnectionsAddr[e->ClientID].sin_addr.s_addr < 0xC0A80001)
|
||||
if (srv.ConnectionsAddr[e->ClientID].sin_addr.s_addr == 0xC0A804FE)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue