summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-28 02:14:22 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:10 +0100
commit0d4f730c5877c3f71395055f19f2672197b5af48 (patch)
tree4680a456f622e918d10cb5783046e589f05154b9 /pimd/pim_oil.c
parentpimd: Add debug wrapping around rp nexthop lookup (diff)
downloadfrr-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.c2
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;
}