aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-09-14 06:30:42 +0000
committerGuy Harris <guy@alum.mit.edu>2001-09-14 06:30:42 +0000
commit5d76f722a29adc0a214ff02e4a64e72f88a94a07 (patch)
tree552c58998f15d4fbdd672f74e042bb3fc7b0fe44 /packet-ospf.c
parent42a6d1b15217a2aeb1c6a9a9d9e7f409fadf2e5e (diff)
downloadwireshark-5d76f722a29adc0a214ff02e4a64e72f88a94a07.tar.gz
wireshark-5d76f722a29adc0a214ff02e4a64e72f88a94a07.tar.bz2
wireshark-5d76f722a29adc0a214ff02e4a64e72f88a94a07.zip
Get rid of a trailing blank.
svn path=/trunk/; revision=3931
Diffstat (limited to 'packet-ospf.c')
-rw-r--r--packet-ospf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-ospf.c b/packet-ospf.c
index d2f1b99e58..bdd32195be 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.45 2001/09/13 20:27:24 guy Exp $
+ * $Id: packet-ospf.c,v 1.46 2001/09/14 06:30:42 guy Exp $
*
* At this time, this module is able to analyze OSPF
* packets as specified in RFC2328. MOSPF (RFC1584) and other
@@ -292,8 +292,8 @@ dissect_ospf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_text(ospf_header_tree, tvb, 4, 4, "Source OSPF Router ID: %s",
ip_to_str(tvb_get_ptr(tvb, 4, 4)));
areaid=tvb_get_ntohl(tvb,8);
- proto_tree_add_text(ospf_header_tree, tvb, 8, 4, "Area ID: %s %s",
- ip_to_str(tvb_get_ptr(tvb, 8, 4)), areaid == 0 ? "(Backbone)" : "");
+ proto_tree_add_text(ospf_header_tree, tvb, 8, 4, "Area ID: %s%s",
+ ip_to_str(tvb_get_ptr(tvb, 8, 4)), areaid == 0 ? " (Backbone)" : "");
cksum = tvb_get_ntohs(tvb, 12);
length = tvb_length(tvb);
/* XXX - include only the length from the OSPF header? */