ZeroConf: use @notify to notify user of active network connections.

git-svn-id: svn://kolibrios.org@4013 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-10-12 15:25:23 +00:00
parent b07f07e58c
commit b787e56a10

View File

@ -363,6 +363,8 @@ request:
DEBUGF 2, "Setting IP using DHCP\n" DEBUGF 2, "Setting IP using DHCP\n"
mov [notify_struct.msg], str_connected
mcall 70, notify_struct
call dhcp_end call dhcp_end
mov ebx, API_IPv4 + 3 mov ebx, API_IPv4 + 3
@ -629,7 +631,16 @@ sockaddr2:
rb 10 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: IM_END: