We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents baf6a9d + 3b25c6d commit 30bde0cCopy full SHA for 30bde0c
zebra/zebra_routemap.c
@@ -257,8 +257,7 @@ static int ip_protocol_rm_add(struct zebra_vrf *zvrf, const char *rmap,
257
route_map_lookup_by_name(PROTO_RM_NAME(zvrf, afi, rtype));
258
route_map_counter_increment(PROTO_RM_MAP(zvrf, afi, rtype));
259
260
- if (PROTO_RM_MAP(zvrf, afi, rtype)) {
261
-
+ if (PROTO_RM_NAME(zvrf, afi, rtype)) {
262
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
263
zlog_debug(
264
"%u: IPv4 Routemap config for protocol %d scheduling RIB processing",
@@ -284,7 +283,7 @@ static int ip_protocol_rm_del(struct zebra_vrf *zvrf, const char *rmap,
284
283
if (!rmap || strcmp(rmap, PROTO_RM_NAME(zvrf, afi, rtype)) == 0) {
285
286
route_map_counter_decrement(PROTO_RM_MAP(zvrf, afi, rtype));
287
288
289
290
"%u: IPv4 Routemap unconfig for protocol %d, scheduling RIB processing",
0 commit comments