li_rc =registryGet('hkey_local_machine\system\currentcontrolset\services\class\nettrans\'+&
string(li_1,'0000'),'ipmask',ls_ipmask)
if li_rc = -1 then continue
if ls_ipmask = '255.255.255.0' then
registryGet('hkey_local_machine\system\currentcontrolset\services\class\nettrans\'+&
string(li_1,'0000'),'ipaddress',gs_login_ip)
exit
end if
next