summaryrefslogtreecommitdiff
path: root/sbin/setkey
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-02-19 16:10:16 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-02-19 16:10:16 +0000
commit0ca229d64d13381cb45c8e73c54fd8bd67aa92d8 (patch)
tree72f8866991d9743af43e911a9f11186d62ceb921 /sbin/setkey
parent6d939e82e0d6b54be01c0c7323db0c4c0121a82b (diff)
downloadsrc-test2-0ca229d64d13381cb45c8e73c54fd8bd67aa92d8.tar.gz
src-test2-0ca229d64d13381cb45c8e73c54fd8bd67aa92d8.zip
Notes
Diffstat (limited to 'sbin/setkey')
-rw-r--r--sbin/setkey/token.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l
index b75fd45e3e7d..0154beef4388 100644
--- a/sbin/setkey/token.l
+++ b/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}+