We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c002c5c + 705e8ef commit 4bd1648Copy full SHA for 4bd1648
zebra/zebra_routemap.c
@@ -299,8 +299,7 @@ int ip_protocol_rm_add(struct zebra_vrf *zvrf, const char *rmap, int rtype,
299
route_map_lookup_by_name(PROTO_RM_NAME(zvrf, afi, rtype));
300
route_map_counter_increment(PROTO_RM_MAP(zvrf, afi, rtype));
301
302
- if (PROTO_RM_MAP(zvrf, afi, rtype)) {
303
-
+ if (PROTO_RM_NAME(zvrf, afi, rtype)) {
304
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
305
zlog_debug(
306
"%u: IPv4 Routemap config for protocol %d scheduling RIB processing",
@@ -326,7 +325,7 @@ int ip_protocol_rm_del(struct zebra_vrf *zvrf, const char *rmap, int rtype,
326
325
if (!rmap || strcmp(rmap, PROTO_RM_NAME(zvrf, afi, rtype)) == 0) {
327
328
route_map_counter_decrement(PROTO_RM_MAP(zvrf, afi, rtype));
329
330
331
332
"%u: IPv4 Routemap unconfig for protocol %d, scheduling RIB processing",
0 commit comments