Skip to content

Commit

Permalink
api: olsr: fix total to actually be total
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed May 1, 2024
1 parent 5ea5c3c commit 75a303c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/olsrd/hosts_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 75a303c

Please sign in to comment.