forked from KolibriOS/kolibrios
IPv4: accept all destination addresses when we dont have one yet.
git-svn-id: svn://kolibrios.org@4976 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
53b63538c0
commit
0923c62681
@ -267,10 +267,9 @@ IPv4_input: ; TODO: add IPv4
|
|||||||
cmp eax, 224
|
cmp eax, 224
|
||||||
je .ip_ok
|
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 [IP_LIST + edi], 0
|
||||||
cmp eax, 127
|
|
||||||
je .ip_ok
|
je .ip_ok
|
||||||
|
|
||||||
; or it's just not meant for us.. :(
|
; or it's just not meant for us.. :(
|
||||||
|
Loading…
Reference in New Issue
Block a user