fixed peer polling to include ipv4 and ipv6 correctly (#5239) (#5257)

* fixed peer polling to include ipv4 and ipv6 correctly

* fixed changelog after rebase

(cherry picked from commit 784e6fa7d8957e20d936a717b6f1c46280bba62a)

Co-authored-by: mattjackson220 <33879985+mattjackson220@users.noreply.github.com>
3 files changed