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.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/setkey/token.l b/usr.sbin/setkey/token.l
index b75fd45..0154bee 100644
--- a/usr.sbin/setkey/token.l
+++ b/usr.sbin/setkey/token.l
@@ -108,7 +108,7 @@ hexstring 0[xX]{hexdigit}+
octetstring {octet}({dot}{octet})+
ipaddress {ipv4addr}|{ipv6addr}
ipv4addr {digit}{1,3}({dot}{digit}{1,3}){0,3}
-ipv6addr {hexdigit}{0,4}({colon}{hexdigit}{0,4}){2,7}(@{letter}{letter}+)?
+ipv6addr {hexdigit}{0,4}({colon}{hexdigit}{0,4}){2,7}(%{letter}{letter}+)?
ipaddrmask {slash}{digit}{1,3}
ipaddrport {blcl}{decstring}{elcl}
keyword {letter}{letter}+
OpenPOWER on IntegriCloud