diff options
| author | Russ White <russ@riw.us> | 2019-01-21 20:25:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-21 20:25:08 -0500 |
| commit | 62b6a7e149fa35d0edbece65bf21c7d13e0c78cd (patch) | |
| tree | 7a42ee96595134a84017be1a637de986aa3f4cb1 /zebra/zapi_msg.c | |
| parent | d45a375af223087cc5b1ad82ad2d0d23e52802a9 (diff) | |
| parent | 177a547ab2d81107f789b9abd5757339a76dc160 (diff) | |
Merge pull request #3631 from opensourcerouting/zapi_fixes
Small zapi fixes
Diffstat (limited to 'zebra/zapi_msg.c')
| -rw-r--r-- | zebra/zapi_msg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 15f9da0cba..d3994fd4a8 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -209,7 +209,7 @@ int zsend_interface_link_params(struct zserv *client, struct interface *ifp) struct stream *s = stream_new(ZEBRA_MAX_PACKET_SIZ); /* Check this client need interface information. */ - if (!client->ifinfo) { + if (!vrf_bitmap_check(client->ifinfo, ifp->vrf_id)) { stream_free(s); return 0; } @@ -1324,6 +1324,7 @@ static void zread_interface_add(ZAPI_HANDLER_ARGS) continue; zsend_interface_add(client, ifp); + zsend_interface_link_params(client, ifp); zsend_interface_addresses(client, ifp); } } |
