diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-02-18 22:32:27 -0500 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-02-18 22:49:47 -0500 |
| commit | 5ff58d0a472120078637820bce0e68e47058ce73 (patch) | |
| tree | 278f7cdd3e68f6575abac80f5ad29b5e76bb497f /tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py | |
| parent | 7baebfb715fe61244930c18821f4c38d392bfeb0 (diff) | |
zebra: minor changes on "zebra_evpn_mac_gw_macip_add" function
Two minor changes:
1) Change `zebra_evpn_mac_gw_macip_add()` 's return type to `void`.
2) Since `zebra_evpn_mac_gw_macip_add()` has already `assert` the returned
`mac`, the check of its return value makes no sense. And keep setting
`mac->flags` inside `zebra_evpn_mac_gw_macip_add()` is more reasonable. So
just move the setting `mac->flags` inside `zebra_evpn_mac_gw_macip_add()`.
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py')
0 files changed, 0 insertions, 0 deletions
