From e7643a6c06b156cbc6af47ed8171c866dfd193e6 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 14 Mar 2000 20:11:45 +0000 Subject: Increase bit fields to allow for new values --- usr.sbin/ppp/filter.h | 4 ++-- 1 file 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 */ -- cgit v1.1