8 Jun
2011
8 Jun
'11
6:13 a.m.
On Fri, May 27, 2011 at 01:10:59PM +0200, Alan DeKok wrote:
$ git pull origin master:master
... build
$ man unlang
Very neat, thank you. This sort of iteration for vendor attributes like Cisco-AVPair is extremely helpful. The key operations will be things like: 1. replace the (current iteration) attribute 2. delete the (current iteration) attribute You can do these already, more or less, using foreach reply:Foo { update reply { Foo -= "%{Foreach-Variable-0}" Foo += "replacement value" } } That is, it will be fine unless you have multiple attributes with identical values. Cheers, Brian.