diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-27 16:23:02 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-27 16:23:02 +0000 |
commit | 771b3db296fb935b2ca4a73dc850981018e7f529 (patch) | |
tree | d27e17ea1ec359b8c7ac1b05e3af0ceba2014217 /sbin/pfctl/pfctl_altq.h | |
parent | 0510fdf81d03191735c5e0143530dc90cb494e07 (diff) |
-use a #define for default qlimit instead of hardcoding it
-print qlimit in print_queue if it is not the default one
-assign the default qlimit early in the parser instead of using 0
Diffstat (limited to 'sbin/pfctl/pfctl_altq.h')
-rw-r--r-- | sbin/pfctl/pfctl_altq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_altq.h b/sbin/pfctl/pfctl_altq.h index 60243023997..c1b2aed579d 100644 --- a/sbin/pfctl/pfctl_altq.h +++ b/sbin/pfctl/pfctl_altq.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_altq.h,v 1.2 2002/11/27 15:49:17 henning Exp $ */ +/* $OpenBSD: pfctl_altq.h,v 1.3 2002/11/27 16:23:01 henning Exp $ */ /* * Copyright (C) 2002 * Sony Computer Science Laboratories Inc. All rights reserved. @@ -77,6 +77,7 @@ #ifndef DEFAULT_PRIORITY #define DEFAULT_PRIORITY 1 +#define DEFAULT_QLIMIT 50 #endif struct pf_altq_node { |