diff --git a/kernel/branches/net/applications/netstat/netstat.asm b/kernel/branches/net/applications/netstat/netstat.asm index 6e7543c950..6fe4a29c1a 100644 --- a/kernel/branches/net/applications/netstat/netstat.asm +++ b/kernel/branches/net/applications/netstat/netstat.asm @@ -30,7 +30,7 @@ include '..\macros.inc' include '..\network.inc' START: - mcall 40, EVM_REDRAW + EVM_BUTTON + mcall 40, EVM_REDRAW + EVM_BUTTON + EVM_STACK2 redraw: mcall 12, 1 @@ -441,6 +441,8 @@ mainloop: je redraw cmp eax, 3 je button + cmp eax, 11 + je redraw jmp draw_stats diff --git a/kernel/branches/net/network/IPv4.inc b/kernel/branches/net/network/IPv4.inc index 321162ab9b..ea80e5a2e0 100644 --- a/kernel/branches/net/network/IPv4.inc +++ b/kernel/branches/net/network/IPv4.inc @@ -976,6 +976,7 @@ IPv4_api: mov eax, ecx call ARP_output_request ; now send a gratuitous ARP + call NET_send_event xor eax, eax ret @@ -985,6 +986,7 @@ IPv4_api: .write_dns: mov [DNS_LIST + eax], ecx + call NET_send_event xor eax, eax ret @@ -1001,6 +1003,7 @@ IPv4_api: or ecx, ebx mov [BROADCAST_LIST + eax], ecx + call NET_send_event xor eax, eax ret @@ -1010,5 +1013,7 @@ IPv4_api: .write_gateway: mov [GATEWAY_LIST + eax], ecx + + call NET_send_event xor eax, eax ret \ No newline at end of file