summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2008-09-14 06:14:06 +0000
committerrik <rik@FreeBSD.org>2008-09-14 06:14:06 +0000
commit7238ec0b33915c236ffd27e412b0a4f7a92071d5 (patch)
treea603a308c977ac853ec58e43d9a6433a89883e5f /sys/netinet/ip_fw.h
parentc5756805692bc5c9aa46a089e39efdfd0f9e065b (diff)
downloadFreeBSD-src-7238ec0b33915c236ffd27e412b0a4f7a92071d5.zip
FreeBSD-src-7238ec0b33915c236ffd27e412b0a4f7a92071d5.tar.gz
Make the commet for the default rule number more clear.
Submitted by: yar@
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index 852056d..7a9f9ea 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -29,7 +29,10 @@
#define _IPFW2_H
/*
- * The default rule number. It is also the max possible rule number.
+ * The default rule number. By the design of ip_fw, the default rule
+ * is the last one, so its number can also serve as the highest number
+ * allowed for a rule. The ip_fw code relies on both meanings of this
+ * constant.
*/
#define IPFW_DEFAULT_RULE 65535
OpenPOWER on IntegriCloud