aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorRoman Kurakin <rik@FreeBSD.org>2008-09-14 06:14:06 +0000
committerRoman Kurakin <rik@FreeBSD.org>2008-09-14 06:14:06 +0000
commiteb29d14ccb1cc4c151ea3ae6513c1348db7e27d7 (patch)
treea603a308c977ac853ec58e43d9a6433a89883e5f /sys/netinet
parent29a23c776a3b007a5ab0ea27d8cc3399397a8086 (diff)
downloadsrc-eb29d14ccb1cc4c151ea3ae6513c1348db7e27d7.tar.gz
src-eb29d14ccb1cc4c151ea3ae6513c1348db7e27d7.zip
Make the commet for the default rule number more clear.
Submitted by: yar@
Notes
Notes: svn path=/head/; revision=183012
Diffstat (limited to 'sys/netinet')
-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 852056d7d16b..7a9f9eacb0fe 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