-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks, |>> * Strings you don't want to be expanded should be encapsulated in single |>> quotes not double. |>> * You can't do <condition><operation> on the same line |>> * Sub conditions should be encapsulated in parenthesis thanks a lot, I finally figured it. Sorry for the noise. For reference, the result is below. Greetings, Stefan Winter if ((Acct-Status-Type == 'Accounting-Off') && !(Acct-Session-Id =~ /restena.*/)) { ~ update control { ~ Proxy-To-Realm := testrealm.lu ~ } } -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIDtY/+jm90f8eFWYRAttqAJ9NypdrTlqvTqrpNgkh36HI+jXJQACffZnr 8yg9ww4RgMYrFkBuVp5Agg0= =gYAu -----END PGP SIGNATURE-----