summaryrefslogtreecommitdiffstats
path: root/sbin/setkey/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/setkey/parse.y')
-rw-r--r--sbin/setkey/parse.y1
1 files changed, 1 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud