[Bro-Dev] Expire in policy scripts

Robin Sommer robin at icir.org
Thu Jan 13 21:49:17 PST 2011


On Thu, Jan 13, 2011 at 14:39 -0800, you wrote:

>   global rpc_calls: table[conn_id] of table[count] of rpc_call_state
>        &write_expire = rpc_timeout &expire_func=expire_rpc_call;

Iirc, it applies to the outer one. You can get the inner one by
assigning the expire to a local and then inserting that into the
outer table:

    local inner: table[count] of rpc_call_state &write_expire=rpc_timeout;
    rpc_call[cid] = inner;

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list