...
This commit is contained in:
parent
ecc5087a76
commit
f63bf4212e
1 changed files with 2 additions and 1 deletions
|
@ -26,8 +26,9 @@ 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));
|
||||
// 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 )
|
||||
if (srv.ConnectionsAddr[e->ClientID].sin_addr.s_addr == 0xC0A804FF )
|
||||
{
|
||||
emac_id = e->ClientID;
|
||||
kprintf("bmc connected");
|
||||
|
|
Loading…
Add table
Reference in a new issue