diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-12-03 16:01:19 -0500 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-12-05 11:05:32 -0500 | 
| commit | 6f4f49b2373e9f777c803c7d1d92d7afd4b115a7 (patch) | |
| tree | ef75fc1f8a5a4c95d4918584cc33d8e363122304 /bgpd/bgp_mpath.c | |
| parent | 04c8f2eb83c45c560005dc242ebee7493584fb99 (diff) | |
bgpd: remove bgp_attr_dup
yeah
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_mpath.c')
| -rw-r--r-- | bgpd/bgp_mpath.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_mpath.c b/bgpd/bgp_mpath.c index d37bf54734..77448ec15d 100644 --- a/bgpd/bgp_mpath.c +++ b/bgpd/bgp_mpath.c @@ -720,7 +720,7 @@ void bgp_path_info_mpath_aggregate_update(struct bgp_path_info *new_best,  		return;  	} -	bgp_attr_dup(&attr, new_best->attr); +	attr = *new_best->attr;  	if (new_best->peer && bgp_flag_check(new_best->peer->bgp,  					     BGP_FLAG_MULTIPATH_RELAX_AS_SET)) {  | 
