aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-08 22:00:16 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-08 22:00:16 +0000
commitcf076fbf630c92c1259adc56c3ea2011296f7064 (patch)
tree85e36861e34f9fab478d7082be17b0dcfcb5d2ee /epan
parent00493efa30267a8e07d285acef210ce77dffd645 (diff)
Fixed printing of BACnetTypeName in the Packet Details tree.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30870 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-bacapp.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index b5c3be87c9..9964966d64 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -58,14 +58,14 @@ static const char *Vendor_Proprietary_Fmt = "(%d) Vendor Proprietary Value";
static const value_string
BACnetTypeName[] = {
- {0, "Confirmed-REQ "},
- {1, "Unconfirmed-REQ "},
- {2, "Simple-ACK "},
- {3, "Complex-ACK "},
- {4, "Segment-ACK "},
- {5, "Error "},
- {6, "Reject "},
- {7, "Abort "},
+ {0, "Confirmed-REQ"},
+ {1, "Unconfirmed-REQ"},
+ {2, "Simple-ACK"},
+ {3, "Complex-ACK"},
+ {4, "Segment-ACK"},
+ {5, "Error"},
+ {6, "Reject"},
+ {7, "Abort"},
{0, NULL }
};
@@ -6447,8 +6447,8 @@ dissect_bacapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* show some descriptive text in the INFO column */
if (check_col(pinfo->cinfo, COL_INFO))
{
- col_add_str(pinfo->cinfo, COL_INFO,
- val_to_str(bacapp_type, BACnetTypeName, "#### unknown APDU ##### "));
+ col_add_fstr(pinfo->cinfo, COL_INFO, "%-16s",
+ val_to_str(bacapp_type, BACnetTypeName, "# unknown APDU #"));
}
switch (bacapp_type)
{