Fix bug in protocol selection (port stays disabled after CIFS)