aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-07 17:36:37 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-07 17:36:37 +0000
commit21126667489e8b69f8e7a2dbc8fa1dd7aefd2302 (patch)
tree212c9f854e2bbc2bb8d2b801ba59482e30253f38 /packet-ospf.c
parent1a0ae26f1c7b2487b34d9c82205ab7955a1b7a0a (diff)
From Taisuke Sasaki: put in missing {} in an "if".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8640 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ospf.c')
-rw-r--r--packet-ospf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-ospf.c b/packet-ospf.c
index 3203a0ea1a..70020ab53f 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.75 2003/05/08 10:16:31 guy Exp $
+ * $Id: packet-ospf.c,v 1.76 2003/10/07 17:36:37 guy Exp $
*
* At this time, this module is able to analyze OSPF
* packets as specified in RFC2328. MOSPF (RFC1584) and other
@@ -1958,10 +1958,11 @@ dissect_ospf_options(tvbuff_t *tvb, int offset, proto_tree *tree, guint8 version
if (options_ospfv3 & OSPF_V3_OPTIONS_V6)
strcat(options_string, "V6");
- if (options_ospfv3 & OSPF_V3_OPTIONS_E)
+ if (options_ospfv3 & OSPF_V3_OPTIONS_E) {
if (options_string[0] != '\0')
strcat(options_string, "/");
strcat(options_string, "E");
+ }
if (options_ospfv3 & OSPF_V3_OPTIONS_MC) {
if (options_string[0] != '\0')