Binat and if macro issue

"Karl O. Pinc" <[email protected]>
Newsgroups gmane.os.openbsd.pf
Message-ID <1254237980.10828.6@mofo>
Hi,

I may be missing something obvious, but I've
a problem with macros for interfaces and binat.

OpenBSD 4.4 stable

------------<snip>---------
net_main_if = "vr1"
net_stndby_if = "vr2"
net_if = "{" $net_main_if $net_stndby_if "}"

binat on $net_if inet from $static_intwks_block1 \
                           to any -> $static_pubwks_block1
------------<snip>---------

When I do pfctl -s nat I see a binat only on vr1.
Changing the binat to nat and rdr I see nat and rdr
on both vr1 and vr2.

Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.