Fix a bug with configuring static network interfaces.