summaryrefslogtreecommitdiffstats
path: root/isisd/isis_zebra.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-18 19:06:00 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-01-18 19:06:00 +0100
commitedc127627d19da37fb247ee76999d17e651c2237 (patch)
tree24264f14293df8fa978ea196141f0f06f9232c33 /isisd/isis_zebra.c
parentlib: fix checking of clients subscribed to receive default routes (diff)
downloadfrr-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.c4
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;