hello ,
I want to print “uptime” for the ppp-client
this is what I have done
Code: Select all
:global ppp [/interface ppp-client monitor ppp-out1 as-value]
:global work ([:pick $ppp 0 ] → “uptime”);
:log warning “$work”
;
but in “work” I get nothing
this is what I have in ppp
Code: Select all
.id=*a;comment=;connect-speed=100000000;encoding=;local-address=112.168.1.58.;mru=1500;mtu=1500;remote-address=0.0.0.0;status=connected;uptime=00:24:02
what am I missing?