Date: Wed, 20 Aug 2008 19:50:20 +0200 From: Leslie Jensen <leslie@eskk.nu> To: freebsd-pf@freebsd.org Subject: A problem with variable Message-ID: <48AC595C.2090506@eskk.nu>
next in thread | raw e-mail | index | archive | help
I've defined a variable proxyport = "{ 8080 }" The rule rdr on $int_if inet proto tcp from $internal_net to any / port $proxy_services -> $proxy port $proxyport gives me a "Syntax error in config file:" I use the same variable in another rule and it does not produce a "Syntax error" pass in on $int_if inet proto tcp from $internal_net to / $proxy port $proxyport keep state If I change the variable in the first rule to 8080 it works. Can someone shed some light on this? Thanks /Leslie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48AC595C.2090506>