diff options
| author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-27 15:27:52 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:04 -0500 |
| commit | 984c84f48600a9c6b7b0513e3ad8f234465dec1e (patch) | |
| tree | e52711eb17d6362fedc4b64bc244f56a72fb5c43 /pimd/pim_cmd.c | |
| parent | 7293a05356086cc75cc0690f4b03110229771743 (diff) | |
pimd: Start abstraction for WC and RPT bits
Start the abstraction of the WC and RPT bits
so we can send the data as appropriate.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 68899d8c7c..c089a3fd3f 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -4624,7 +4624,8 @@ static int recv_joinprune(struct vty *vty, remain = buf_pastend - pim_msg_curr; pim_msg_curr = pim_msg_addr_encode_ipv4_source(pim_msg_curr, remain, - source_addr); + source_addr, + PIM_ENCODE_SPARSE_BIT); if (!pim_msg_curr) { vty_out(vty, "Failure encoding source address %s: space left=%d%s", source_str, remain, VTY_NEWLINE); |
