Use address functions instead of ADDRESS macros in asn1 and epan
[metze/wireshark/wip.git] / epan / dissectors / packet-x25.c
index fae4e85f28d5f51adb12bef9e022a10835e506c4..a1bbc4dc3d82a375d8d830ca2b5de85a9bba62e6 100644 (file)
@@ -2022,7 +2022,7 @@ dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
      * sides of the conversation, based on the addresses and
      * ports.
      */
-    direction = CMP_ADDRESS(&pinfo->src, &pinfo->dst);
+    direction = cmp_address(&pinfo->src, &pinfo->dst);
     if (direction == 0)
         direction = (pinfo->srcport > pinfo->destport)*2 - 1;
     dissect_x25_common(tvb, pinfo, tree, X25_UNKNOWN, direction > 0);