Ignore loopback interfaces unless configured otherwise
Code cleanup