/* We don't care whether we support the comments in this file or not; if we can't, we'll offer the user the option of discarding the comments.  */
gboolean cf_can_save_as(capture_file *cf)
/* We don't care whether we support the comments in this file or not; if we can't, we'll offer the user the option of discarding the comments.  */
gboolean cf_can_save_as(capture_file *cf)
{
  if (wtap_dump_can_write(cf->linktypes, 0)) {
    return TRUE;
  }
  if (cf->is_tempfile && !cf->unsaved_changes) {
    return TRUE;
  }
  return FALSE;
}