# Script MikWeb
# Captura as seções PPPoEs on-line
;
:foreach GetSessionsOnline in=[/ppp active find] do={
:global address [/ppp active get $GetSessionsOnline address];
:global user [/ppp active get $GetSessionsOnline name];
:global mac [/ppp active get $GetSessionsOnline caller-id];
/ppp secret set $user caller-id=$mac remote-address=$address;
};