]> git.puffer.fish Git - mirror/frr.git/commit
*: unify prefix copying 8780/head
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 2 Jun 2021 17:03:52 +0000 (20:03 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 29 Jun 2021 13:11:47 +0000 (16:11 +0300)
commitb08dcc3f3f0b128b4662f3be86eb53075e93ac9f
treea5d0029da0b919ab46468fb0abb011f827d7df3c
parent176d039a2792f4ccc901a4b04efeb934fdeec050
*: unify prefix copying

There are a few places in the code where we use PREFIX_COPY(_IPV4/IPV6)
macro to copy a prefix. Let's always use prefix_copy function for this.

This should fix CID 1482142 and 1504610.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_flowspec_util.c
bgpd/bgpd.c
eigrpd/eigrp_network.c
lib/prefix.h
zebra/connected.c