This commit is contained in:
Carl-Benedikt Krüger 2011-08-02 16:59:34 +02:00
parent f63bf4212e
commit 1eee6a584c

View file

@ -28,7 +28,7 @@ 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 == 0xC0A804FF )
if (srv.ConnectionsAddr[e->ClientID].sin_addr.s_addr == 0xC0A804FE )
{
emac_id = e->ClientID;
kprintf("bmc connected");