summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-03-14 20:11:45 +0000
committerbrian <brian@FreeBSD.org>2000-03-14 20:11:45 +0000
commite7643a6c06b156cbc6af47ed8171c866dfd193e6 (patch)
tree8d5fe60e5613d31e63455a4a1dab8101f87563cb
parent5f910a271be36b26078e8f59c9365356f96f07b2 (diff)
downloadFreeBSD-src-e7643a6c06b156cbc6af47ed8171c866dfd193e6.zip
FreeBSD-src-e7643a6c06b156cbc6af47ed8171c866dfd193e6.tar.gz
Increase bit fields to allow for new values
-rw-r--r--usr.sbin/ppp/filter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/filter.h b/usr.sbin/ppp/filter.h
index ce6f2e2..0bfa560 100644
--- a/usr.sbin/ppp/filter.h
+++ b/usr.sbin/ppp/filter.h
@@ -65,8 +65,8 @@ struct filterent {
unsigned f_proto : 8; /* Protocol: P_... */
unsigned f_srcop : 2; /* Source port operation: OP_... */
unsigned f_dstop : 2; /* Destination port operation: OP_... */
- unsigned f_srctype : 2; /* T_ value of src */
- unsigned f_dsttype : 2; /* T_ value of dst */
+ unsigned f_srctype : 3; /* T_ value of src */
+ unsigned f_dsttype : 3; /* T_ value of dst */
unsigned f_estab : 1; /* Check TCP ACK bit */
unsigned f_syn : 1; /* Check TCP SYN bit */
unsigned f_finrst : 1; /* Check TCP FIN/RST bits */
OpenPOWER on IntegriCloud