Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6240 → Rev 6246

/kernel/branches/Kolibri-acpi/network/IPv4.inc
1,6 → 1,6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; IPv4.INC ;;
939,6 → 939,7
test ebx, ebx
jnz .got_device
 
; Broadcast does not need gateway
cmp eax, 0xffffffff
je .broadcast
 
976,6 → 977,10
 
mov edx, [IP_LIST + edi] ; Source IP
 
; Broadcast does not need gateway
cmp eax, 0xffffffff
je @f
 
; Check if we should route to gateway or not
mov ebx, [IP_LIST + edi]
and ebx, [SUBNET_LIST + edi]