[libvirt] [PATCH 3/6] Add access to elements of variables via index
Eric Blake
eblake at redhat.com
Tue Jan 10 17:50:46 UTC 2012
On 12/09/2011 08:07 AM, Stefan Berger wrote:
> This patch adds access to single elements of variables via index. Example:
>
> <rule action='accept' direction='in' priority='500'>
> <tcp srcipaddr='$ADDR[1]' srcportstart='$B[2]'/>
> </rule>
I suppose you can mix the two:
pair _just_ the element $ADDR[1] with all possibilities of the list $B[@1].
Looks reasonable.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120110/3b26ae50/attachment-0001.sig>
More information about the libvir-list
mailing list