mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127684
@ -672,6 +672,7 @@ portstr
|
||||
upper_spec
|
||||
: DECSTRING { $$ = $1; }
|
||||
| ANY { $$ = IPSEC_ULPROTO_ANY; }
|
||||
| PR_TCP { $$ = IPPROTO_TCP; }
|
||||
| STRING
|
||||
{
|
||||
struct protoent *ent;
|
||||
|
@ -672,6 +672,7 @@ portstr
|
||||
upper_spec
|
||||
: DECSTRING { $$ = $1; }
|
||||
| ANY { $$ = IPSEC_ULPROTO_ANY; }
|
||||
| PR_TCP { $$ = IPPROTO_TCP; }
|
||||
| STRING
|
||||
{
|
||||
struct protoent *ent;
|
||||
|
Loading…
Reference in New Issue
Block a user