diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-07-23 23:28:08 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-07-23 23:28:08 +0000 |
commit | e869dbb17d934bfa0adf12515ff130a128d4604b (patch) | |
tree | 4bbde891c82d501a6aac6425648fa5a1d1990284 /epan/dissectors/packet-ospf.c | |
parent | e7172b423bf2a5255edf342a4b901a0d9798ad4c (diff) | |
download | wireshark-e869dbb17d934bfa0adf12515ff130a128d4604b.tar.gz wireshark-e869dbb17d934bfa0adf12515ff130a128d4604b.tar.bz2 wireshark-e869dbb17d934bfa0adf12515ff130a128d4604b.zip |
Trivial warning fixes:
- comma at end of enum
- function declarations with empty args instead of void
- c++ style comments
svn path=/trunk/; revision=11492
Diffstat (limited to 'epan/dissectors/packet-ospf.c')
-rw-r--r-- | epan/dissectors/packet-ospf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ospf.c b/epan/dissectors/packet-ospf.c index d55e1ed974..c9d9844bda 100644 --- a/epan/dissectors/packet-ospf.c +++ b/epan/dissectors/packet-ospf.c @@ -1153,7 +1153,7 @@ dissect_ospf_lsa_mpls(tvbuff_t *tvb, int offset, proto_tree *tree, tvb_get_ntohieee_float(tvb, stlv_offset + 8 + i*4), tvb_get_ntohieee_float(tvb, stlv_offset + 8 + i*4) * 8.0); } - if (switch_cap >=1 && switch_cap <=4) { // PSC-1 .. PSC-4 + if (switch_cap >=1 && switch_cap <=4) { /* PSC-1 .. PSC-4 */ proto_tree_add_text(stlv_tree, tvb, stlv_offset+40, 4, "Minimum LSP bandwidth: %.10g bytes/s (%.0f bits/s)", tvb_get_ntohieee_float(tvb, stlv_offset + 40), @@ -1162,7 +1162,7 @@ dissect_ospf_lsa_mpls(tvbuff_t *tvb, int offset, proto_tree *tree, "Interface MTU: %d", tvb_get_ntohs(tvb, stlv_offset+44)); } - if (switch_cap == 100) { // TDM + if (switch_cap == 100) { /* TDM */ proto_tree_add_text(stlv_tree, tvb, stlv_offset+40, 4, "Minimum LSP bandwidth: %.10g bytes/s (%.0f bits/s)", tvb_get_ntohieee_float(tvb, stlv_offset + 40), |