diff options
| author | anlan_cs <vic.lan@pica8.com> | 2023-01-15 20:16:49 +0800 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2023-01-16 13:07:56 +0800 |
| commit | 6bb58de0a528e197778681bfa6be1e802c2911d9 (patch) | |
| tree | be29e489d31adba1b5e671578dd607787f7a120c /tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py | |
| parent | a8adf1b3cb313490a3f2ef5c03256e04546e0de4 (diff) | |
bgpd: fix wrong vrf name for debug
For vrf name in debug, use `bgp->name_pretty` instead of `bgp->name`.
Before:
```
2023/01/15 05:04:19 BGP: [P4GAZ-JHRM3] evpn vrf VRF default nh init
2023/01/15 05:04:19 BGP: [ZZKY3-FX5JH] bgp_get: Registering BGP instance (null) to zebra <-
2023/01/15 05:04:19 BGP: [TNK7N-FJF7K] Registering VRF 0
```
After:
```
2023/01/15 21:38:16 BGP: [P4GAZ-JHRM3] evpn vrf VRF default nh init
2023/01/15 21:38:16 BGP: [ZZKY3-FX5JH] bgp_get: Registering BGP instance VRF default to zebra <-
2023/01/15 21:38:16 BGP: [TNK7N-FJF7K] Registering VRF 0
```
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py')
0 files changed, 0 insertions, 0 deletions
