Put codes in the right place
Fix GetInterfaceByIP()