summaryrefslogtreecommitdiffstats
path: root/lib/libipsec/policy_token.l
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 /lib/libipsec/policy_token.l
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 'lib/libipsec/policy_token.l')
-rw-r--r--lib/libipsec/policy_token.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libipsec/policy_token.l b/lib/libipsec/policy_token.l
index 1e7b714..c9737cb 100644
--- a/lib/libipsec/policy_token.l
+++ b/lib/libipsec/policy_token.l
@@ -79,7 +79,7 @@ decstring {digit}+
hexpair {hexdigit}{hexdigit}
hexstring 0[xX]{hexdigit}+
octetstring {octet}({dot}{octet})+
-ipaddress [a-zA-Z0-9:\._][a-zA-Z0-9:\._]*(@{letter}{letter}+)?
+ipaddress [a-zA-Z0-9:\._][a-zA-Z0-9:\._]*(%{letter}{letter}+)?
name {letter}(({letter}|{digit}|{hyphen})*({letter}|{digit}))*
hostname {name}(({dot}{name})+{dot}?)?
OpenPOWER on IntegriCloud