o Allow setkey(8) to recognize esp as a protocoal name for spdadd.

PR:		bin/107392
Submitted by:	Eugene Grosbein
MFC after:	1 month
This commit is contained in:
maxim 2008-01-12 20:00:23 +00:00
parent 25ee59b777
commit d501f78b50

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;