summaryrefslogtreecommitdiff
path: root/zebra/rt_netlink.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-17 22:01:36 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-17 22:01:36 -0500
commit1498c0593a75a6beabafbb8ed2b19a9c11bee250 (patch)
tree6c2fc7f7726c22180b838c142cdf7826207162f6 /zebra/rt_netlink.c
parent8175a5464965cc942616bd0220f161aab62da3ed (diff)
zebra: Allow the collection of sg stats on more platforms.
The code to collect the sg stats was written for linux. Abstract the call to allow it to work on all platforms. I have not implemented the call for non-linux systems. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r--zebra/rt_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index 2dfe43f5df..d2781f4c4e 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -1526,7 +1526,7 @@ skip:
}
int
-netlink_get_ipmr_sg_stats (void *in)
+kernel_get_ipmr_sg_stats (void *in)
{
int suc = 0;
struct mcast_route_data *mr = (struct mcast_route_data *)in;