summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-19 16:10:16 +0000
committershin <shin@FreeBSD.org>2000-02-19 16:10:16 +0000
commit98f78aba9d0830c72c8bc3a41299b63ac701f87d (patch)
treec2c50f9850955d5a43d78290f1052fd302da52ea /usr.sbin
parent64995770850f2ea869f74413a0bebc17df9a6db4 (diff)
downloadFreeBSD-src-98f78aba9d0830c72c8bc3a41299b63ac701f87d.zip
FreeBSD-src-98f78aba9d0830c72c8bc3a41299b63ac701f87d.tar.gz
Change IPv6 scoped addr format again based on recent standard discussion.
Sorry for the flapping, but no change will be done for 4.0 anymore. Official standard will be published around April or later. If different format would be adopted at that time, then support for the new format will be added to the succeeding FreeBSD 4.x. Approved by: jkh
Diffstat (limited to 'usr.sbin')
-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