]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: prefix: add prefix_rd type
authorstreambinder <posta@davidepucci.it>
Mon, 15 Jun 2020 13:21:19 +0000 (15:21 +0200)
committerstreambinder <posta@davidepucci.it>
Mon, 15 Jun 2020 13:34:49 +0000 (15:34 +0200)
Signed-off-by: streambinder <posta@davidepucci.it>
lib/prefix.h

index 4b2d90d63abd8fec9389637905f58fe9ad46b4a0..506efffb94ce467e4544d5fadb7289103f6e53de 100644 (file)
@@ -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