aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcom.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-11-07 07:39:16 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-11-07 07:39:16 +0000
commit5f955a0fcc66f789cc4abe34a457de521f29a7bd (patch)
tree6a5ac176df06383c84ad90e4249ce00e4209d8a0 /epan/dissectors/packet-dcom.c
parentfaed34492b5667a37d0e35538ae960ad863f805b (diff)
From Albert Chin:
Patch attached to convert usage of ntohl() -> g_ntohl(). On HP-UX, ntohl() isn't available unless you -D_XOPEN_SOURCE_EXTENDED but there are other uses of g_ntohl(). svn path=/trunk/; revision=19844
Diffstat (limited to 'epan/dissectors/packet-dcom.c')
-rw-r--r--epan/dissectors/packet-dcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcom.c b/epan/dissectors/packet-dcom.c
index 0050ce540a..f0ae9a918d 100644
--- a/epan/dissectors/packet-dcom.c
+++ b/epan/dissectors/packet-dcom.c
@@ -1773,7 +1773,7 @@ dissect_dcom_DUALSTRINGARRAY(tvbuff_t *tvb, gint offset, packet_info *pinfo,
/* XXX - this conversion is ugly */
if (inet_aton(szStr, &ipaddr)) {
if(get_host_ipaddr(szStr, &curr_ip)) {
- curr_ip = ntohl(curr_ip);
+ curr_ip = g_ntohl(curr_ip);
/*expert_add_info_format(pinfo, NULL, PI_UNDECODED, PI_WARN, "DUALSTRINGARRAY: IP:%s",
ip_to_str( (gchar *) &curr_ip));*/