diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-21 09:14:39 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:36 -0400 |
| commit | 88a3f5e121fb9035ac4e669e2e8780ed233c70ac (patch) | |
| tree | 32ca3a4f6a6e7a4af5ddb5b7e2f70a75b4c0fbcb | |
| parent | 8e5f97e3c130d3d6c1dd0ddd7a93e5870128c24e (diff) | |
pimd: Make pim_hello choose correct vrf
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | pimd/pim_hello.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c index bfa57d7f9d..138a110d3a 100644 --- a/pimd/pim_hello.c +++ b/pimd/pim_hello.c @@ -446,6 +446,8 @@ int pim_hello_build_tlv(struct interface *ifp, uint8_t *tlv_buf, uint8_t *curr = tlv_buf; uint8_t *pastend = tlv_buf + tlv_buf_size; uint8_t *tmp; + struct pim_interface *pim_ifp = ifp->info; + struct pim_instance *pim = pim_ifp->pim; /* * Append options @@ -517,7 +519,7 @@ int pim_hello_build_tlv(struct interface *ifp, uint8_t *tlv_buf, } return -4; } - if (pimg->send_v6_secondary) { + if (pim->send_v6_secondary) { curr = pim_tlv_append_addrlist_ucast( curr, pastend, ifp->connected, AF_INET6); if (!curr) { |
