From owner-freebsd-pf@FreeBSD.ORG Fri Jan 7 06:09:12 2005 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 086AF16A4CE for ; Fri, 7 Jan 2005 06:09:12 +0000 (GMT) Received: from smtp02.net-yan.com (smtp02.hgcbroadband.com [210.0.255.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12F5C43D31 for ; Fri, 7 Jan 2005 06:09:11 +0000 (GMT) (envelope-from sam.wun@authtec.com) Received: (qmail 65155 invoked from network); 7 Jan 2005 06:09:08 -0000 Received: from unknown (HELO [192.168.4.70]) (samwun@hgcbroadband.com@[221.127.169.42]) (envelope-sender ) by localhost (qmail-ldap-1.03) with SMTP for ; 7 Jan 2005 06:09:08 -0000 Message-ID: <41DE275A.7020300@authtec.com> Date: Fri, 07 Jan 2005 14:08:26 +0800 From: sam User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-pf@freebsd.org, max@love2party.net, yongari@kt-is.co.kr Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: structure has no member named `anchor_call' X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 06:09:12 -0000 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); 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