From b787e56a1083d3d7f009c79d3214a2a07fa6cb68 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sat, 12 Oct 2013 15:25:23 +0000 Subject: [PATCH] ZeroConf: use @notify to notify user of active network connections. git-svn-id: svn://kolibrios.org@4013 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/zeroconf/zeroconf.asm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/programs/network/zeroconf/zeroconf.asm b/programs/network/zeroconf/zeroconf.asm index 0a3a21ec89..b221b22e20 100644 --- a/programs/network/zeroconf/zeroconf.asm +++ b/programs/network/zeroconf/zeroconf.asm @@ -363,6 +363,8 @@ request: DEBUGF 2, "Setting IP using DHCP\n" + mov [notify_struct.msg], str_connected + mcall 70, notify_struct call dhcp_end mov ebx, API_IPv4 + 3 @@ -629,7 +631,16 @@ sockaddr2: rb 10 -path db '/sys/network.ini',0 +notify_struct: + dd 7 ; run application + dd 0 + .msg dd 0 + dd 0 + dd 0 + db '/sys/@notify', 0 + +str_connected db 'You are now connected to the network.', 0 +path db '/sys/network.ini',0 IM_END: