How do you mean bergx 'the site cocept'? and can you use KiX to pull the default gateway of a client? If I could do that it shouldnt be a problem or I could also use test_users apporach.


Just another thing is there any reason why you are using CASE here instead of the IF statement?