mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Improve r272609 (O_TCPOPTS).
MFC after: 3 dayes
This commit is contained in:
parent
04f10b6c96
commit
bbd5a84297
1 changed files with 2 additions and 4 deletions
|
|
@ -1722,12 +1722,10 @@ do { \
|
|||
break;
|
||||
|
||||
case O_TCPOPTS:
|
||||
if (proto == IPPROTO_TCP && ulp != NULL) {
|
||||
if (proto == IPPROTO_TCP && offset == 0 && ulp){
|
||||
PULLUP_LEN(hlen, ulp,
|
||||
(TCP(ulp)->th_off << 2));
|
||||
match = (proto == IPPROTO_TCP &&
|
||||
offset == 0 &&
|
||||
tcpopts_match(TCP(ulp), cmd));
|
||||
match = tcpopts_match(TCP(ulp), cmd);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue