diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-12-28 00:44:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-12-28 00:44:49 +0000 |
commit | 9474f32fbffbf3f8eca61b5f1a4947be3bf7f618 (patch) | |
tree | 5d977cf5ad9b6efc69fe95dc5d6fb80f4f45ba18 /packet-ospf.c | |
parent | f6782c1ebe5910d694c313193a950de236e7b3de (diff) |
Always put the packet type in the Info column.
svn path=/trunk/; revision=2789
Diffstat (limited to 'packet-ospf.c')
-rw-r--r-- | packet-ospf.c | 7 |
1 files 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 <hannes@boehm.org> * - * $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) { |