]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix debug output for route-map names when using a unsuppress-map 13123/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 28 Mar 2023 11:47:22 +0000 (07:47 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 28 Mar 2023 12:34:24 +0000 (08:34 -0400)
commit8e8ed2e1fb8adbe86135f2b9bcb47fcba6936ed3
treeeefeea44e513f228a91a74ae1a512313ac102cab
parent328b64fcb51c5f4a3f4ff9effc824f34d2d24cad
bgpd: Fix debug output for route-map names when using a unsuppress-map

Log is printing this with this config:

2023-03-28 07:36:47.007 [DEBG] bgpd: [Q9J6Z-09HRR] 192.168.119.120 [Update:SEND] 1.2.3.33/32 is filtered by route-map '(null)'

Here's the config:

 address-family ipv4 unicast
  network 1.2.3.33/32
  network 1.2.3.34/32
  aggregate-address 1.2.3.0/24 summary-only
  redistribute table 33 route-map foo
  neighbor 192.168.119.120 route-map DENY in
  neighbor 192.168.119.120 unsuppress-map UNSUPPRESS

ip prefix-list UNSUPPRESS seq 5 permit 1.2.3.4/32
ip prefix-list UNSUPPRESS seq 10 permit 1.2.3.5/32
ip prefix-list UNSUPPRESS seq 15 permit 1.2.3.6/32

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_route.c