summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-11-03 20:26:54 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-11-03 22:25:44 +0100
commit0edf0c8cd919a8b3fbf5bc036f27ea0b4ed0b91a (patch)
tree07ae1b48e392992e58ad0f1a230ea180739a29b3 /nest/config.Y
parent08c4c9a30b7ed61be39ddc71aebd69a0fea6a55a (diff)
Support for address family constants
We already had them defined on BGP level, but they are more general.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 1bc203dd..8fe060c5 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -85,6 +85,7 @@ CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIREC
CF_ENUM(T_ENUM_SCOPE, SCOPE_, HOST, LINK, SITE, ORGANIZATION, UNIVERSE, UNDEFINED)
CF_ENUM(T_ENUM_RTD, RTD_, UNICAST, BLACKHOLE, UNREACHABLE, PROHIBIT)
CF_ENUM(T_ENUM_ROA, ROA_, UNKNOWN, VALID, INVALID)
+CF_ENUM_PX(T_ENUM_AF, AF_, AFI_, IPV4, IPV6)
%type <i32> idval
%type <f> imexport