diff options
author | maxim <maxim@FreeBSD.org> | 2008-01-12 20:00:23 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2008-01-12 20:00:23 +0000 |
commit | d501f78b50faa0424ef028686c983923b07a88aa (patch) | |
tree | 0a7f9e5681e85868e90e410525940b1902daecce /sbin/setkey | |
parent | 25ee59b7773e520ed1e335ed772224d12e333d9e (diff) | |
download | FreeBSD-src-d501f78b50faa0424ef028686c983923b07a88aa.zip FreeBSD-src-d501f78b50faa0424ef028686c983923b07a88aa.tar.gz |
o Allow setkey(8) to recognize esp as a protocoal name for spdadd.
PR: bin/107392
Submitted by: Eugene Grosbein
MFC after: 1 month
Diffstat (limited to 'sbin/setkey')
-rw-r--r-- | sbin/setkey/parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/setkey/parse.y b/sbin/setkey/parse.y index 8123a75..c551c35 100644 --- a/sbin/setkey/parse.y +++ b/sbin/setkey/parse.y @@ -683,6 +683,7 @@ upper_spec : DECSTRING { $$ = $1; } | ANY { $$ = IPSEC_ULPROTO_ANY; } | PR_TCP { $$ = IPPROTO_TCP; } + | PR_ESP { $$ = IPPROTO_ESP; } | STRING { struct protoent *ent; |