[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 3/6] Add access to elements of variables via index



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]