diff options
author | brian <brian@FreeBSD.org> | 2000-03-14 20:11:45 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-14 20:11:45 +0000 |
commit | e7643a6c06b156cbc6af47ed8171c866dfd193e6 (patch) | |
tree | 8d5fe60e5613d31e63455a4a1dab8101f87563cb | |
parent | 5f910a271be36b26078e8f59c9365356f96f07b2 (diff) | |
download | FreeBSD-src-e7643a6c06b156cbc6af47ed8171c866dfd193e6.zip FreeBSD-src-e7643a6c06b156cbc6af47ed8171c866dfd193e6.tar.gz |
Increase bit fields to allow for new values
-rw-r--r-- | usr.sbin/ppp/filter.h | 4 |
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 */ |