From 37a21337e379b493f7450c4e6f5f9cc4b04cb282 Mon Sep 17 00:00:00 2001 From: bms Date: Wed, 31 Mar 2004 18:38:02 +0000 Subject: Fix regression in setkey whereby parser would fail to recognise tcp as both a security protocol and an upper level protocol for encapsulation. PR: bin/63616 Submitted by: ume@ --- 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 bc944a8..0693a96 100644 --- a/sbin/setkey/parse.y +++ b/sbin/setkey/parse.y @@ -672,6 +672,7 @@ portstr upper_spec : DECSTRING { $$ = $1; } | ANY { $$ = IPSEC_ULPROTO_ANY; } + | PR_TCP { $$ = IPPROTO_TCP; } | STRING { struct protoent *ent; -- cgit v1.1