forked from osmocom/wireshark
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:
parent
16bd74ab0c
commit
e2d774be16
|
@ -185,8 +185,6 @@ dissect_hsrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
||||||
col_append_fstr(pinfo->cinfo, COL_INFO, " (state %s)",
|
col_append_fstr(pinfo->cinfo, COL_INFO, " (state %s)",
|
||||||
val_to_str(state, hsrp_adv_state_vals, "Unknown"));
|
val_to_str(state, hsrp_adv_state_vals, "Unknown"));
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
col_set_str(pinfo->cinfo, COL_INFO, "Unknown");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tree) {
|
if (tree) {
|
||||||
|
|
Loading…
Reference in New Issue