From 75a303c3a9e502336a82484279815c45365cbfb4 Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Tue, 30 Apr 2024 23:09:16 -0500 Subject: [PATCH] api: olsr: fix total to actually be total --- internal/olsrd/hosts_parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/olsrd/hosts_parser.go b/internal/olsrd/hosts_parser.go index d174abe2..c3d069ad 100644 --- a/internal/olsrd/hosts_parser.go +++ b/internal/olsrd/hosts_parser.go @@ -36,7 +36,7 @@ func (p *HostsParser) GetAREDNHostsCount() int { } func (p *HostsParser) GetTotalHostsCount() int { - return p.totalCount + return p.totalCount + p.arednNodesCount } func (p *HostsParser) GetHostsPaginated(page int, limit int, filter string) []*AREDNHost {