summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorstreambinder <posta@davidepucci.it>2020-06-15 15:21:19 +0200
committerstreambinder <posta@davidepucci.it>2020-06-15 15:34:49 +0200
commit132b6a9139e64afe7910ac144179b57aa27175cf (patch)
tree3ad43c39cd0bf15a945a3af42453d1187a9e7805 /lib
parentMerge pull request #6578 from ton31337/fix/constants (diff)
downloadfrr-132b6a9139e64afe7910ac144179b57aa27175cf.tar.xz
frr-132b6a9139e64afe7910ac144179b57aa27175cf.zip
lib: prefix: add prefix_rd type
Signed-off-by: streambinder <posta@davidepucci.it>
Diffstat (limited to 'lib')
-rw-r--r--lib/prefix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index 4b2d90d63..506efffb9 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -295,6 +295,7 @@ union prefixptr {
prefixtype(prefixptr, struct prefix_ipv6, p6)
prefixtype(prefixptr, struct prefix_evpn, evp)
prefixtype(prefixptr, struct prefix_fs, fs)
+ prefixtype(prefixptr, struct prefix_rd, rd)
} __attribute__((transparent_union));
union prefixconstptr {
@@ -303,6 +304,7 @@ union prefixconstptr {
prefixtype(prefixconstptr, const struct prefix_ipv6, p6)
prefixtype(prefixconstptr, const struct prefix_evpn, evp)
prefixtype(prefixconstptr, const struct prefix_fs, fs)
+ prefixtype(prefixconstptr, const struct prefix_rd, rd)
} __attribute__((transparent_union));
#ifndef INET_ADDRSTRLEN