Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: Compare existing device ip to host lookup like for like #6316
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
A bit annoying this one. So when we run inet6_ntop() on a v6 address, it will replace :: with :0: so the IP returned from dnslookup() looks different so the if() check is always true. This resolves it by comparing both the IPs having run the same functions to even it out.