]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: cosmetic changes for debug
authoranlan_cs <vic.lan@pica8.com>
Mon, 16 Jan 2023 07:35:27 +0000 (15:35 +0800)
committeranlan_cs <vic.lan@pica8.com>
Tue, 17 Jan 2023 09:16:39 +0000 (17:16 +0800)
commit47f5eb7487138f556ee6a2dcf1f279a28ce219c6
tree6bb6cc2b5dd0131bcc43aabeb7fa3f3ea4711a86
parenta8adf1b3cb313490a3f2ef5c03256e04546e0de4
bgpd: cosmetic changes for debug

Two changes for debug log -
1. Display empty VRF as "None".
2. Correct wrong "type-2" word for type-3 route.

Before:
```
2023/01/17 04:00:30 BGP: [Z5AV7-75RTE] VRF   vni 100 type-2 route evp [3]:[0]:[32]:[88.88.88.88] RMAC 00:00:00:00:00:00 nexthop 88.88.88.88 esi (null)
```

After:
```
2023/01/17 04:05:24 BGP: [M3X4Y-24DVB] VRF None vni 100 type-3 route evp [3]:[0]:[32]:[88.88.88.88] RMAC 00:00:00:00:00:00 nexthop 88.88.88.88 esi (null)
```

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn.c