aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipx.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-19 04:54:30 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-19 04:54:30 +0000
commita10b98284c44bcafc86ee440ce936cfe305fe01b (patch)
treeff1ad5ac23bc527b2cccdff6e73ba401bd04d5f5 /epan/dissectors/packet-ipx.h
parentbab72ca73439280d7b83d40495d8a39d46267ddc (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48412
Diffstat (limited to 'epan/dissectors/packet-ipx.h')
-rw-r--r--epan/dissectors/packet-ipx.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/epan/dissectors/packet-ipx.h b/epan/dissectors/packet-ipx.h
index c109881f1a..b0fefa0748 100644
--- a/epan/dissectors/packet-ipx.h
+++ b/epan/dissectors/packet-ipx.h
@@ -67,16 +67,17 @@ struct sap_query
#define IPX_RIP_REQUEST (0x1)
#define IPX_RIP_RESPONSE (0x2)
+typedef struct _ipx_rt_def
+{
+ guint32 network ;
+ guint16 hops ;
+ guint16 ticks ;
+} ipx_rt_def_t;
+
struct ipx_rip_packet
{
guint16 operation ;
- struct ipx_rt_def
- {
- guint32 network ;
- guint16 hops ;
- guint16 ticks ;
- }
- rt[1] ;
+ ipx_rt_def_t rt[1] ;
};
#define IPX_BROADCAST_NODE ("\xff\xff\xff\xff\xff\xff")