summaryrefslogtreecommitdiffstats
path: root/pimd/pim_msg.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-02 18:17:10 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:08 +0100
commit63c59d0c9ae695bd7d8f33e570eb1bf7f6729b4e (patch)
tree1516e0220456b713922d651e38ff7104397857cd /pimd/pim_msg.c
parentpimd: Use Quagga as official bug report place (diff)
downloadfrr-63c59d0c9ae695bd7d8f33e570eb1bf7f6729b4e.tar.xz
frr-63c59d0c9ae695bd7d8f33e570eb1bf7f6729b4e.zip
pimd: switch pim_rpf.h to use 'struct prefix' for address
mrib_nexthop_addr and rpf_addr should be 'struct prefix' so that we can safely handle unnumbered data from a nexthop lookup in zebra Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msg.c')
-rw-r--r--pimd/pim_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_msg.c b/pimd/pim_msg.c
index df7f7051d..62e0bb1a3 100644
--- a/pimd/pim_msg.c
+++ b/pimd/pim_msg.c
@@ -181,7 +181,7 @@ pim_msg_join_prune_encode (uint8_t *buf, int buf_size, int is_join,
{
struct pim_rpf *rpf = pim_rp_g (group);
bits = PIM_ENCODE_SPARSE_BIT | PIM_ENCODE_WC_BIT | PIM_ENCODE_RPT_BIT;
- stosend = rpf->rpf_addr;
+ stosend = rpf->rpf_addr.u.prefix4;
}
else
{