diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-05-03 18:31:00 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-05-03 18:31:00 +0000 |
commit | ee02ae333b7655971a930a9350ac03d0a11dfccf (patch) | |
tree | 5ff8a3f5fc257c875792027a17b5611cd86a4944 /epan/dissectors/packet-infiniband.h | |
parent | 0f7fd9399e53f2c93bb5df7c42b071b85999b2c4 (diff) |
This patch is submitted on behalf of Mellanox Technologies:
Printing to the source and destination columns by the Infiniband dissector is
not working properly. This patch changes the printing code to perform the
correct operations, so that the source and destination information properly
appears in the columns.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4739
svn path=/trunk/; revision=32648
Diffstat (limited to 'epan/dissectors/packet-infiniband.h')
-rw-r--r-- | epan/dissectors/packet-infiniband.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-infiniband.h b/epan/dissectors/packet-infiniband.h index 097331fc53..3e1ab0f3e8 100644 --- a/epan/dissectors/packet-infiniband.h +++ b/epan/dissectors/packet-infiniband.h @@ -1371,4 +1371,9 @@ static guint32 opCode_PAYLD[] = { #define MAD_DATA_SIZE 232 /* size of data field a MAD payload carries */ +static gchar *src_addr_str = NULL, /* the string to be displayed in the source/destination columns */ + *dst_addr_str = NULL; /* will be stored here */ + +#define ADDR_STR_MAX_LEN 33 /* maximum length of src_addr_str and dst_addr_str */ + #endif |