From dbb6ed147247fd1f1a5952bef52c579011b1f935 Mon Sep 17 00:00:00 2001 From: Philipp Buehler Date: Wed, 20 Nov 2002 10:55:27 +0000 Subject: BNF update: o catch up with queuespec change (no 'queue' in altq_rule) o there cant be a lonely number for bandwidth o s/k/K/ for queue_rule also henning@ ok --- share/man/man5/pf.conf.5 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 8387da137ce..6919489458e 100644 --- a/share/man/man5/pf.conf.5 +++ b/share/man/man5/pf.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pf.conf.5,v 1.111 2002/11/20 10:40:01 pb Exp $ +.\" $OpenBSD: pf.conf.5,v 1.112 2002/11/20 10:55:26 pb Exp $ .\" .\" Copyright (c) 2002, Daniel Hartmeier .\" All rights reserved. @@ -1207,12 +1207,14 @@ antispoof_rule = "antispoof" [ "log" ] [ "quick" ] "for" ( interface-name | "{" interface-list "}" ) [ af ] . -altq_rule = "altq" "on" interface-name "scheduler" "cbq" "bandwidth" - number [ "Kb" | "Mb" | "Gb" ] [ "queue" "{" queue-list "}" ] . +altq_rule = "altq" "on" interface-name "scheduler" "cbq" + [ "bandwidth" number ( "b" | "Kb" | "Mb" | "Gb" ) ] + "queue" ( string | "{" queue-list "}" ) . -queue_rule = "queue" string "bandwidth" number [ "kb" | "Mb" | "Gb" | "%" ] +queue_rule = "queue" string "bandwidth" number + ( "b" | "Kb" | "Mb" | "Gb" | "%" ) [ "priority" number ] [ cbq-def ] - [ "queue" ( string | "{" queue-list "}" ) ] . + [ string | "{" queue-list "}" ] . action = "pass" | "block" [ return ] | "scrub" . return = "drop" | -- cgit v1.2.3