From d501f78b50faa0424ef028686c983923b07a88aa Mon Sep 17 00:00:00 2001 From: maxim Date: Sat, 12 Jan 2008 20:00:23 +0000 Subject: o Allow setkey(8) to recognize esp as a protocoal name for spdadd. PR: bin/107392 Submitted by: Eugene Grosbein MFC after: 1 month --- sbin/setkey/parse.y | 1 + 1 file changed, 1 insertion(+) (limited to 'sbin/setkey/parse.y') 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; -- cgit v1.1