diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-28 02:14:22 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:10 +0100 |
commit | 0d4f730c5877c3f71395055f19f2672197b5af48 (patch) | |
tree | 4680a456f622e918d10cb5783046e589f05154b9 /pimd/pim_oil.c | |
parent | pimd: Add debug wrapping around rp nexthop lookup (diff) | |
download | frr-0d4f730c5877c3f71395055f19f2672197b5af48.tar.xz frr-0d4f730c5877c3f71395055f19f2672197b5af48.zip |
pimd: sort qpim_channel_oil_list and qpim_upstream_list
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This allows "show ip mroute" and "show ip pim upstream" to display the
groups in order.
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 e09dc3f08..9728d6304 100644 --- a/pimd/pim_oil.c +++ b/pimd/pim_oil.c @@ -77,7 +77,7 @@ pim_add_channel_oil (struct prefix_sg *sg, c_oil->oil_ref_count = 1; c_oil->installed = 0; - listnode_add(qpim_channel_oil_list, c_oil); + listnode_add_sort(qpim_channel_oil_list, c_oil); return c_oil; } |