Don't change the Info column if we have an unknown opcode; we've already

set it to a value that should indicate that the opcode is unknown, and
also indicates what the value is.  (Especially don't do it without
calling check_col() to check whether we *should* change the info column,
as we'll dereference a null pointer if we shouldn't; this change should
fix bug 489.)

svn path=/trunk/; revision=16038
This commit is contained in:
Guy Harris 2005-09-28 09:31:37 +00:00
parent 16bd74ab0c
commit e2d774be16
1 changed files with 0 additions and 2 deletions

View File

@ -185,8 +185,6 @@ dissect_hsrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_append_fstr(pinfo->cinfo, COL_INFO, " (state %s)",
val_to_str(state, hsrp_adv_state_vals, "Unknown"));
}
} else {
col_set_str(pinfo->cinfo, COL_INFO, "Unknown");
}
if (tree) {