summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-04-01 21:54:39 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-04-01 22:09:02 +0200
commit68a57089122b22414b04ebc28bd0db81051fdcbd (patch)
treea2ed5a9e60625032479398c810dc940daf72b9f6
parentMerge pull request #8345 from dslicenc/frr-reload-vrf-static (diff)
downloadfrr-68a57089122b22414b04ebc28bd0db81051fdcbd.tar.xz
frr-68a57089122b22414b04ebc28bd0db81051fdcbd.zip
bgpd: prefix-list and route-map nb fixes
Fix missing/incorrect callbacks. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
-rw-r--r--bgpd/bgp_nb_config.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/bgpd/bgp_nb_config.c b/bgpd/bgp_nb_config.c
index 2351e7f1a..4b7f2d5a5 100644
--- a/bgpd/bgp_nb_config.c
+++ b/bgpd/bgp_nb_config.c
@@ -21848,8 +21848,7 @@ int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config
case NB_EV_PREPARE:
case NB_EV_ABORT:
case NB_EV_APPLY:
- /* TODO: implement me. */
- break;
+ return bgp_neighbor_afi_safi_plist_modify(args, FILTER_IN);
}
return NB_OK;
@@ -21863,8 +21862,7 @@ int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config
case NB_EV_PREPARE:
case NB_EV_ABORT:
case NB_EV_APPLY:
- /* TODO: implement me. */
- break;
+ return bgp_neighbor_afi_safi_plist_destroy(args, FILTER_IN);
}
return NB_OK;
@@ -22992,8 +22990,7 @@ int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_p
case NB_EV_ABORT:
return NB_OK;
case NB_EV_APPLY:
- bgp_neighbor_afi_safi_plist_modify(args, FILTER_IN);
- break;
+ return bgp_neighbor_afi_safi_plist_modify(args, FILTER_IN);
}
return NB_OK;
@@ -47570,7 +47567,7 @@ int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rm
case NB_EV_ABORT:
break;
case NB_EV_APPLY:
- return bgp_peer_group_afi_safi_plist_destroy(args, FILTER_IN);
+ return bgp_peer_group_afi_safi_rmap_destroy(args, RMAP_OUT);
}
return NB_OK;
@@ -47604,7 +47601,7 @@ int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_pl
case NB_EV_ABORT:
break;
case NB_EV_APPLY:
- return bgp_peer_group_afi_safi_rmap_destroy(args, RMAP_OUT);
+ return bgp_peer_group_afi_safi_plist_destroy(args, FILTER_IN);
}
return NB_OK;