structure has no member named `anchor_call'

Pyun YongHyeon yongari at kt-is.co.kr
Thu Jan 6 22:22:36 PST 2005


On Fri, Jan 07, 2005 at 02:08:26PM +0800, sam wrote:
 > Hi,
 > 
 > I got the following error with anchor_call:
 > 
 > error: structure has no member named `anchor_call'
 > 
 > The line of code is:
 > /* Create the anchor call rule in main */
 > bzero(&rule, sizeof(struct pfioc_rule));
 > strncpy(rule.rule.ifname, pfp->iface, IFNAMSIZ-1);
 > strncpy(rule.anchor_call, pfp->anchorname, PF_ANCHOR_NAME_SIZE-1);
 > 
member anchor_call was introduced in OpenBSD 3.6 pf(rev. 1.195 pfvar.h).
Unfortunatly, FreeBSD pf is based on OpenBSD 3.5 pf.

 > I don't know what change made to pf in freebsd.  The machine I m using 
 > is a FreeBSD beta 6. Should I try it under 5.3 stable?
 > If there is change, what should I modify the code?
 > 
 > Thanks
 > Sam
 > 

-- 
Regards,
Pyun YongHyeon
http://www.kr.freebsd.org/~yongari	|	yongari at freebsd.org


More information about the freebsd-pf mailing list