Fix indentation lint issue, remove commented code
Fixes #7263 - make sure the ip address from interfaces is valid