aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-07 17:36:37 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-07 17:36:37 +0000
commit73d12ae94feb2c5d6265a0e343d115c8369f90b2 (patch)
tree212c9f854e2bbc2bb8d2b801ba59482e30253f38 /packet-ospf.c
parente779676e075430e6b60c439fa96c5093b7ed9c52 (diff)
From Taisuke Sasaki: put in missing {} in an "if".
svn path=/trunk/; revision=8640
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')