This is the original code: my $listenIP = ($SystemMode eq "serveronly") ? $LocalIP : $ExternalIP;
Here is what I need to do in this template fragment... If user selected VPN services on the new link, AND Systemmode is gateway change the $ExternalIP to $ExternalIP2. All variables are stored in my /home/e-smith/configuration file: VPNServer2=yes (or no) ExternalIP2=xx.xx.xxx.223 I think I have to use the "&&" to connect the string together. Trev. -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org