[Users] How can I pass pseudovariables to functions?

Peter Lemenkov lemenkov at gmail.com
Thu Apr 26 15:24:51 CEST 2007


Hello All!
I have a question. If I declare variable like this:

$var(ip_address) = "192.168.0.1";

I can't use this variable in functions like that one:

revritehostport ($var(ip_address));

It leads me to the following message:

omega1 ~ # /usr/local/sbin/openser -f
/usr/local/etc/openser/openser_registrar.cfg -l 192.168.0.1
 0(5723) parse error (316,25-37): syntax error
 0(5723) parse error (316,37-38): bad argument, string expected
ERROR: bad config file (2 errors)

So the question is %subj%.
-- 
With best regards!




More information about the Users mailing list