diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-18 19:06:00 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-18 19:06:00 +0100 |
commit | edc127627d19da37fb247ee76999d17e651c2237 (patch) | |
tree | 24264f14293df8fa978ea196141f0f06f9232c33 /isisd/isis_zebra.c | |
parent | lib: fix checking of clients subscribed to receive default routes (diff) | |
download | frr-edc127627d19da37fb247ee76999d17e651c2237.tar.xz frr-edc127627d19da37fb247ee76999d17e651c2237.zip |
lib: use the correct VRF ID when parsing INTERFACE_LINK_PARAMS messages
Bug found during code inspection.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_zebra.c')
-rw-r--r-- | isisd/isis_zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index 958f8c228..d03c1dde0 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -219,11 +219,11 @@ static int isis_zebra_if_address_del(int command, struct zclient *client, } static int isis_zebra_link_params(int command, struct zclient *zclient, - zebra_size_t length) + zebra_size_t length, vrf_id_t vrf_id) { struct interface *ifp; - ifp = zebra_interface_link_params_read(zclient->ibuf); + ifp = zebra_interface_link_params_read(zclient->ibuf, vrf_id); if (ifp == NULL) return 0; |