From 0923c626813456a70ae0a969b9e024236ce68158 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 15 Jun 2014 12:00:30 +0000 Subject: [PATCH] IPv4: accept all destination addresses when we dont have one yet. git-svn-id: svn://kolibrios.org@4976 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/IPv4.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/network/IPv4.inc b/kernel/trunk/network/IPv4.inc index a65482b584..ad92f2de6e 100644 --- a/kernel/trunk/network/IPv4.inc +++ b/kernel/trunk/network/IPv4.inc @@ -267,10 +267,9 @@ IPv4_input: ; TODO: add IPv4 cmp eax, 224 je .ip_ok - ; or a loopback address (127.0.0.0/8) + ; maybe we just dont have an IP yet and should accept everything on the IP level - and eax, 0x00ffffff - cmp eax, 127 + cmp [IP_LIST + edi], 0 je .ip_ok ; or it's just not meant for us.. :(