From e72de3ee9eab99fc078487f29c3e73c01a9d083e Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 28 Dec 2000 00:44:49 +0000 Subject: [PATCH] Always put the packet type in the Info column. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2789 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-ospf.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packet-ospf.c b/packet-ospf.c index f80d41c5f2..b90cde292d 100644 --- a/packet-ospf.c +++ b/packet-ospf.c @@ -2,7 +2,7 @@ * Routines for OSPF packet disassembly * (c) Copyright Hannes R. Boehm * - * $Id: packet-ospf.c,v 1.31 2000/12/27 12:48:25 guy Exp $ + * $Id: packet-ospf.c,v 1.32 2000/12/28 00:44:49 guy Exp $ * * At this time, this module is able to analyze OSPF * packets as specified in RFC2328. MOSPF (RFC1584) and other @@ -180,9 +180,8 @@ dissect_ospf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (check_col(pinfo->fd, COL_PROTOCOL)) col_set_str(pinfo->fd, COL_PROTOCOL, "OSPF"); if (check_col(pinfo->fd, COL_INFO)) { - if (packet_type != NULL) - col_add_str(pinfo->fd, COL_INFO, - val_to_str(packet_type, pt_vals, "Unknown (%u)")); + col_add_str(pinfo->fd, COL_INFO, + val_to_str(packet_type, pt_vals, "Unknown (%u)")); } if (tree) { -- 2.34.1