]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_rd.c
bgpd: Allow shortened 'no set large-community' and 'no set large-comm-list'
[mirror_frr.git] / bgpd / bgp_rd.c
index 3f7ea160452dc731d1b46e70324983755f28a221..77f5aade5f0cad0f300c07549df2a478ff10e435 100644 (file)
@@ -27,6 +27,7 @@
 #include "memory.h"
 #include "stream.h"
 #include "filter.h"
+#include "frrstr.h"
 
 #include "bgpd/bgpd.h"
 #include "bgpd/bgp_rd.h"
@@ -210,5 +211,5 @@ void form_auto_rd(struct in_addr router_id,
        prd->family = AF_UNSPEC;
        prd->prefixlen = 64;
        sprintf(buf, "%s:%hu", inet_ntoa(router_id), rd_id);
-       str2prefix_rd(buf, prd);
+       (void)str2prefix_rd(buf, prd);
 }