aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-05-04 18:25:43 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-05-04 18:25:43 +0000
commit9aa7db004230d1e2d58b2af6ad65b5960ecee287 (patch)
treebdc7000233da7e5e0f43d16ad1dbde7fd261cefb /epan
parent8f88da8a1620d3e995f307ff5eb14bfa278e2fdf (diff)
From LEGO fix "Dissector bug, Protocol H248"
svn path=/trunk/; revision=18093
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-h248.c6
-rw-r--r--epan/dissectors/packet-h248.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h248.c b/epan/dissectors/packet-h248.c
index 49dbda10a4..46b2d23bc0 100644
--- a/epan/dissectors/packet-h248.c
+++ b/epan/dissectors/packet-h248.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* ./packet-h248.c */
+/* .\packet-h248.c */
/* ../../tools/asn2eth.py -X -b -e -p h248 -c h248.cnf -s packet-h248-template MEGACO.asn */
/* Input file: packet-h248-template.c */
@@ -1594,8 +1594,8 @@ static h248_msg_t* h248_msg(packet_info* pinfo, int o) {
m->hi_addr = 0;
break;
case AT_IPv4:
- memcpy((guint8*)m->hi_addr,hi_addr->data,4);
- memcpy((guint8*)m->lo_addr,lo_addr->data,4);
+ memcpy((guint8*)&(m->hi_addr),hi_addr->data,4);
+ memcpy((guint8*)&(m->lo_addr),lo_addr->data,4);
break;
case AT_SS7PC:
m->hi_addr = mtp3_pc_hash(hi_addr->data);
diff --git a/epan/dissectors/packet-h248.h b/epan/dissectors/packet-h248.h
index e8b693d0f7..6752b2cb01 100644
--- a/epan/dissectors/packet-h248.h
+++ b/epan/dissectors/packet-h248.h
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* ./packet-h248.h */
+/* .\packet-h248.h */
/* ../../tools/asn2eth.py -X -b -e -p h248 -c h248.cnf -s packet-h248-template MEGACO.asn */
/* Input file: packet-h248-template.h */