Date: Fri, 7 Jan 2005 15:22:19 +0900 From: Pyun YongHyeon <yongari@kt-is.co.kr> To: sam <sam.wun@authtec.com> Cc: freebsd-pf@freebsd.org Subject: Re: structure has no member named `anchor_call' Message-ID: <20050107062219.GA15701@kt-is.co.kr> In-Reply-To: <41DE275A.7020300@authtec.com> References: <41DE275A.7020300@authtec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050107062219.GA15701>