mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
Don't reject OPAQUE ports while verifying traffic selector substructure
This commit is contained in:
parent
0abeac3a0b
commit
b443fa6123
@ -114,7 +114,11 @@ METHOD(payload_t, verify, status_t,
|
||||
{
|
||||
if (this->start_port > this->end_port)
|
||||
{
|
||||
return FAILED;
|
||||
/* OPAQUE ports are the only exception */
|
||||
if (this->start_port != 0xffff && this->end_port != 0)
|
||||
{
|
||||
return FAILED;
|
||||
}
|
||||
}
|
||||
switch (this->ts_type)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user