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 Konovalov 2008-01-12 20:00:23 +00:00
parent 8ef952a396
commit b40114f7f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175248

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;