diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-08 07:57:15 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-08 16:15:06 +0200 |
commit | c4efd0f4235d1151a95add06ad5ccb42c7dcff21 (patch) | |
tree | 9aaff71f3b3ae6c23457092f6c78a25deec6adb7 /lib/vrf.c | |
parent | Merge pull request #6180 from mjstapp/fix_bgp_ecomm_sa (diff) | |
download | frr-c4efd0f4235d1151a95add06ad5ccb42c7dcff21.tar.xz frr-c4efd0f4235d1151a95add06ad5ccb42c7dcff21.zip |
*: Do not cast to the same type
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/vrf.c')
-rw-r--r-- | lib/vrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ static void vrf_update_vrf_id(ns_id_t ns_id, void *opaqueptr) vrf->vrf_id = vrf_id; RB_INSERT(vrf_id_head, &vrfs_by_id, vrf); if (old_vrf_id == VRF_UNKNOWN) - vrf_enable((struct vrf *)vrf); + vrf_enable(vrf); } int vrf_switch_to_netns(vrf_id_t vrf_id) |