Fix regression in setkey whereby parser would fail to recognise tcp as
both a security protocol and an upper level protocol for encapsulation. PR: bin/63616 Submitted by: ume@
This commit is contained in:
parent
21f48b73b0
commit
1ba19fe8ce
@ -672,6 +672,7 @@ portstr
|
|||||||
upper_spec
|
upper_spec
|
||||||
: DECSTRING { $$ = $1; }
|
: DECSTRING { $$ = $1; }
|
||||||
| ANY { $$ = IPSEC_ULPROTO_ANY; }
|
| ANY { $$ = IPSEC_ULPROTO_ANY; }
|
||||||
|
| PR_TCP { $$ = IPPROTO_TCP; }
|
||||||
| STRING
|
| STRING
|
||||||
{
|
{
|
||||||
struct protoent *ent;
|
struct protoent *ent;
|
||||||
|
@ -672,6 +672,7 @@ portstr
|
|||||||
upper_spec
|
upper_spec
|
||||||
: DECSTRING { $$ = $1; }
|
: DECSTRING { $$ = $1; }
|
||||||
| ANY { $$ = IPSEC_ULPROTO_ANY; }
|
| ANY { $$ = IPSEC_ULPROTO_ANY; }
|
||||||
|
| PR_TCP { $$ = IPPROTO_TCP; }
|
||||||
| STRING
|
| STRING
|
||||||
{
|
{
|
||||||
struct protoent *ent;
|
struct protoent *ent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user