MFC rev. 1.11: allow setkey(8) to recognize esp as a protocol

name for spdadd.
This commit is contained in:
maxim 2008-02-26 09:44:36 +00:00
parent b6b87fa7fc
commit 05f8f2f2f2

View File

@ -683,6 +683,7 @@ upper_spec
: DECSTRING { $$ = $1; }
| ANY { $$ = IPSEC_ULPROTO_ANY; }
| PR_TCP { $$ = IPPROTO_TCP; }
| PR_ESP { $$ = IPPROTO_ESP; }
| STRING
{
struct protoent *ent;