diff options
-rw-r--r-- | sbin/setkey/parse.y | 1 | ||||
-rw-r--r-- | usr.sbin/setkey/parse.y | 1 |
2 files changed, 2 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; diff --git a/usr.sbin/setkey/parse.y b/usr.sbin/setkey/parse.y index bc944a8..0693a96 100644 --- a/usr.sbin/setkey/parse.y +++ b/usr.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; |