Commas in alias filter

Dan Morphis dan at milkcarton.com
Wed Jun 27 17:15:15 EDT 2018


I haven't tried this, but try either encapsulating the value in single
quotes, or try escaping the comma with a backslash.

On Sat, Jun 16, 2018 at 11:06 AM, Miguel Ángel Sánchez Moragues <
sanchez.moragues at gmail.com> wrote:

> Hi all,
>
> According to the wiki, it's possible use alias filter:
>
> declare( "InternetGatewayDevice.X_BROADCOM_COM_IPAddrAccCtrl.X_
> BROADCOM_COM_IPAddrAccCtrlListCfg.[SourceIPAddress:192.168.1.0,SourceNetMask:255.255.255.0]",
> {path: now}, {path: 1});
>
> I need use commas inside the field value -> Protocol:'HTTP,FTP,TELNET,
> SSH,ICMP'
>
> declare("InternetGatewayDevice.X_HW_Security.AclServices.WanAccess.
> [Enable:1,Protocol:'HTTP,FTP,TELNET,SSH,ICMP',WanName:wan1.1.ip1]",
>  {path: now}, {path: 1});
>
> How to write commas in alias filter?
>
> Sorry for the dumb question...
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180627/c89a3151/attachment.html>


More information about the Users mailing list