Community discussions

MikroTik App
 
User avatar
s3RYjUr9ABp4
just joined
Topic Author
Posts: 4
Joined: Mon Aug 03, 2020 8:48 am

v7.6 DHCPv6 Client script $options Not recognized

Tue Oct 11, 2022 5:19 pm

$options content is all garbled characters
Cannot be used in scripts
# scripts :global d $options

[admin@router] > :put $d
1=àLh>à;SuccessHï$ÂÕ;23=ˆˆ;25=Q€£ô€<‚NyÐ
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: v7.6 DHCPv6 Client script $options Not recognized

Tue Oct 11, 2022 10:32 pm

I never played with it (so I may be wrong), but I doubt that RouterOS understands all possible options and is able to parse their content. So what you see may be correct. And it's not necessarily a problem, if you know that options you need and what they contain, you could parse them yourself. Related matter is what functions RouterOS has for working with binary data, I don't know from top of my head, I just remember how I'm always surprised by lack of basic functions. But maybe I just got pesimistic.

Who is online

Users browsing this forum: No registered users and 20 guests