diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-11-13 17:24:06 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-11-14 02:25:26 +0000 |
commit | a7d9c74be0b8b0115f01729a94455350e7e92e8f (patch) | |
tree | ce04762bac942fcc40f8c6ea29e5ca6a565e5f43 /epan/dissectors/packet-ospf.c | |
parent | 63776db384f75b2dc793cab46cf27250d8913711 (diff) |
OSPF: fix indent (use 4 spaces)
Change-Id: I3ba3fa626398718fefcc3430fffeaed2f4ea47b9
Reviewed-on: https://code.wireshark.org/review/18799
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ospf.c')
-rw-r--r-- | epan/dissectors/packet-ospf.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/epan/dissectors/packet-ospf.c b/epan/dissectors/packet-ospf.c index 845cec5c3e..6e3a723ee7 100644 --- a/epan/dissectors/packet-ospf.c +++ b/epan/dissectors/packet-ospf.c @@ -2369,40 +2369,40 @@ dissect_ospf_lsa_opaque_ri(tvbuff_t *tvb, int offset, proto_tree *tree, switch(tlv_type) { case OPT_RI_TLV: - tlv_tree = proto_tree_add_subtree(ri_tree, tvb, offset, tlv_length+4, + tlv_tree = proto_tree_add_subtree(ri_tree, tvb, offset, tlv_length+4, ett_ospf_lsa_ri_tlv, NULL, "RI TLV"); - proto_tree_add_uint_format_value(tlv_tree, hf_ospf_tlv_type, tvb, offset, 2, + proto_tree_add_uint_format_value(tlv_tree, hf_ospf_tlv_type, tvb, offset, 2, tlv_type, "Router Informational Capabilities TLV (%u)", tlv_type); - proto_tree_add_item(tlv_tree, hf_ospf_tlv_length, tvb, offset+2, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(tlv_tree, hf_ospf_tlv_length, tvb, offset+2, 2, ENC_BIG_ENDIAN); - dissect_ospf_bitfield(tlv_tree, tvb, offset + 4, &bfinfo_ri_options); - break; + dissect_ospf_bitfield(tlv_tree, tvb, offset + 4, &bfinfo_ri_options); + break; case DYN_HOSTNAME_TLV: - tlv_tree = proto_tree_add_subtree(ri_tree, tvb, offset, tlv_length+4, + tlv_tree = proto_tree_add_subtree(ri_tree, tvb, offset, tlv_length+4, ett_ospf_lsa_dyn_hostname_tlv, NULL, "Dynamic Hostname TLV"); - proto_tree_add_uint_format_value(tlv_tree, hf_ospf_tlv_type, tvb, offset, 2, + proto_tree_add_uint_format_value(tlv_tree, hf_ospf_tlv_type, tvb, offset, 2, tlv_type, "Dynamic Hostname TLV (%u)", tlv_type); - proto_tree_add_item(tlv_tree, hf_ospf_tlv_length, tvb, offset+2, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(tlv_tree, hf_ospf_tlv_length, tvb, offset+2, 2, ENC_BIG_ENDIAN); - proto_tree_add_item(tlv_tree, hf_ospf_dyn_hostname, tvb, offset+4, tlv_length, ENC_ASCII|ENC_NA); - break; + proto_tree_add_item(tlv_tree, hf_ospf_dyn_hostname, tvb, offset+4, tlv_length, ENC_ASCII|ENC_NA); + break; default: - tlv_tree = proto_tree_add_subtree(ri_tree, tvb, offset, tlv_length+4, + tlv_tree = proto_tree_add_subtree(ri_tree, tvb, offset, tlv_length+4, ett_ospf_lsa_unknown_tlv, NULL, "Unknown Opaque RI LSA TLV"); - proto_tree_add_uint_format_value(tlv_tree, hf_ospf_tlv_length, tvb, offset, 2, + proto_tree_add_uint_format_value(tlv_tree, hf_ospf_tlv_length, tvb, offset, 2, tlv_type, "Unknown TLV (%u)", tlv_type); - proto_tree_add_item(tlv_tree, hf_ospf_tlv_length, tvb, offset+2, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(tlv_tree, hf_ospf_tlv_length, tvb, offset+2, 2, ENC_BIG_ENDIAN); - proto_tree_add_item(tlv_tree, hf_ospf_unknown_tlv_txt, tvb, offset+4, tlv_length, ENC_ASCII|ENC_NA); - break; + proto_tree_add_item(tlv_tree, hf_ospf_unknown_tlv_txt, tvb, offset+4, tlv_length, ENC_ASCII|ENC_NA); + break; } |