mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-03 06:28:33 +00:00
bgpd: Ignore return code for str2prefix
The call to str2prefix_rd when we get to this point of the code cannot fail. As such let's just ignore the return code. Found by Coverity SA. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
c37e1f598b
commit
24f8bd87e5
@ -210,5 +210,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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user