From 132b6a9139e64afe7910ac144179b57aa27175cf Mon Sep 17 00:00:00 2001 From: streambinder Date: Mon, 15 Jun 2020 15:21:19 +0200 Subject: [PATCH] lib: prefix: add prefix_rd type Signed-off-by: streambinder --- lib/prefix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/prefix.h b/lib/prefix.h index 4b2d90d63a..506efffb94 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