diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-30 03:29:59 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:17 +0100 |
commit | 5e9985887e6762afad914884805a82f371b925fc (patch) | |
tree | 9ec5302f21e4083c64c631d0406a87262881d5bc /pimd/pim_oil.c | |
parent | pimd: Fix stupidity compile errors (diff) | |
download | frr-5e9985887e6762afad914884805a82f371b925fc.tar.xz frr-5e9985887e6762afad914884805a82f371b925fc.zip |
pimd: Fix pim_oil_equal function
We are self testing for c2 being equal to c2.
Bad Donald! No Donut!
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_oil.c')
-rw-r--r-- | pimd/pim_oil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c index acebd6ace..c8f6b504c 100644 --- a/pimd/pim_oil.c +++ b/pimd/pim_oil.c @@ -62,7 +62,7 @@ pim_oil_equal (const void *arg1, const void *arg2) const struct channel_oil *c2 = (const struct channel_oil *)arg2; if ((c1->oil.mfcc_mcastgrp.s_addr == c2->oil.mfcc_mcastgrp.s_addr) && - (c2->oil.mfcc_origin.s_addr == c2->oil.mfcc_origin.s_addr)) + (c1->oil.mfcc_origin.s_addr == c2->oil.mfcc_origin.s_addr)) return 1; return 0; |