From owner-freebsd-pf@FreeBSD.ORG Fri Mar 2 20:15:45 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71C5A16A404 for ; Fri, 2 Mar 2007 20:15:45 +0000 (UTC) (envelope-from brad-fbsd-pf@duttonbros.com) Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by mx1.freebsd.org (Postfix) with SMTP id 3E7DB13C4A5 for ; Fri, 2 Mar 2007 20:15:45 +0000 (UTC) (envelope-from brad-fbsd-pf@duttonbros.com) Received: (qmail 16202 invoked by uid 85); 2 Mar 2007 19:49:04 -0000 Received: from 127.0.0.1 by uno (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 2.55. Clear:RC:1(127.0.0.1):. Processed in 0.039444 secs); 02 Mar 2007 19:49:04 -0000 Received: from unknown (HELO uno.mnl.com) (127.0.0.1) by localhost with SMTP; 2 Mar 2007 19:49:03 -0000 Received: from 192.168.0.13 (SquirrelMail authenticated user bdutton) by uno.mnl.com with HTTP; Fri, 2 Mar 2007 11:49:03 -0800 (PST) Message-ID: <1703.192.168.0.13.1172864943.squirrel@uno.mnl.com> Date: Fri, 2 Mar 2007 11:49:03 -0800 (PST) From: "Bradley W. Dutton" To: freebsd-pf@freebsd.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: split line comments X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad-fbsd-pf@duttonbros.com 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, 02 Mar 2007 20:15:45 -0000 Hi, I'm not sure if this is a bug or feature, but the trailing slash used to split long lines works for comments too. Thanks, Brad root@uno[/etc][31]% cat pf.conf pass all # some comments \ block all pass all root@uno[/etc][32]% /etc/rc.d/pf reload Reloading pf rules. root@uno[/etc][33]% pfctl -sr pass all pass all root@uno[/etc][35]% cat pf.conf pass all # some comments block all pass all root@uno[/etc][36]% /etc/rc.d/pf reload Reloading pf rules. root@uno[/etc][37]% pfctl -sr pass all block drop all pass all