Discussion:
prefix patterns cannot be defined as constants
Kai
2014-10-02 11:19:29 UTC
Permalink
Hi there!

Just noticed that (shorthand and long) prefix patterns cannot be defined as constants. During a quick search I couldn't find this behaviour documented, so maybe it might be considered a bug?

Example:

define my_const = fc01:2345::/48+;

... returns a syntax error.

As does:

define my_const = fc01:2345::/48{48,128};

Best regards, Kai
Ondrej Zajicek
2014-10-02 11:31:18 UTC
Permalink
Post by Kai
Hi there!
Just noticed that (shorthand and long) prefix patterns cannot be defined as constants. During a quick search I couldn't find this behaviour documented, so maybe it might be considered a bug?
This is expected. Prefix patterns are not independent entities, it is
just a syntax to write prefix set literals.

But you could define whole prefix sets as constants.
--
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: ***@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
Loading...