Fix bug with different network interfaces names.