From f63bf4212e769c538ee1b355b9ce6d999860ba05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Benedikt=20Kr=C3=BCger?= Date: Tue, 2 Aug 2011 16:57:56 +0200 Subject: [PATCH] ... --- kernel/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/shell.c b/kernel/shell.c index cbd444e7..6de61dc6 100644 --- a/kernel/shell.c +++ b/kernel/shell.c @@ -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");