summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setkey/token.l
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/setkey/token.l')
-rw-r--r--usr.sbin/setkey/token.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/setkey/token.l b/usr.sbin/setkey/token.l
index 8916fdd..c2eaad5 100644
--- a/usr.sbin/setkey/token.l
+++ b/usr.sbin/setkey/token.l
@@ -200,6 +200,7 @@ nocyclic-seq { PREPROC; return(NOCYCLICSEQ); }
/* upper layer protocols */
icmp { PREPROC; yylval.num = IPPROTO_ICMP; return(UP_PROTO); }
icmp6 { PREPROC; yylval.num = IPPROTO_ICMPV6; return(UP_PROTO); }
+ip4 { PREPROC; yylval.num = IPPROTO_IPV4; return(UP_PROTO); }
tcp { PREPROC; yylval.num = IPPROTO_TCP; return(UP_PROTO); }
udp { PREPROC; yylval.num = IPPROTO_UDP; return(UP_PROTO); }
OpenPOWER on IntegriCloud