Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldsharp committed Mar 7, 2024
1 parent d19bad0 commit 69f7509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -3021,7 +3021,7 @@ void subgroup_process_announce_selected(struct update_subgroup *subgrp,
subgrp,
adv_attr,
selected))
bgp_attr_flush(&attr);
bgp_attr_unintern(&adv_attr);
} else {
bgp_adj_out_unset_subgroup(
dest, subgrp, 1, addpath_tx_id);
Expand Down
2 changes: 1 addition & 1 deletion bgpd/bgp_updgrp_adv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ void subgroup_default_originate(struct update_subgroup *subgrp, bool withdraw)
if (!bgp_adj_out_set_subgroup(
dest, subgrp,
default_attr, pi))
bgp_attr_flush(
bgp_attr_unintern(
&default_attr);
} else
bgp_attr_flush(&attr);
Expand Down

0 comments on commit 69f7509

Please sign in to comment.