summaryrefslogtreecommitdiff
path: root/CommonCode.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-03-22 00:22:09 +0000
committerDave Hibberd <hibby@debian.org>2025-05-21 21:32:17 +0100
commitbdf8a8367e79e6224f8078b5d1bb9b6ad8584079 (patch)
tree6e93cb599e2763d711a3e159fc186a767f8e6c3f /CommonCode.c
parentf0ac0675f6ceff1a0b4223e6ea6b703c657d282f (diff)
New upstream version 6.0.24.67+repack
Diffstat (limited to 'CommonCode.c')
-rw-r--r--CommonCode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/CommonCode.c b/CommonCode.c
index f00b8f6..f5d5125 100644
--- a/CommonCode.c
+++ b/CommonCode.c
@@ -1124,6 +1124,11 @@ int CompareNode(struct DEST_LIST ** a, struct DEST_LIST ** b)
return memcmp(a[0]->DEST_CALL, b[0]->DEST_CALL, 7);
}
+int CompareRoutes(struct ROUTE ** a, struct ROUTE ** b)
+{
+ return memcmp(a[0]->NEIGHBOUR_CALL, b[0]->NEIGHBOUR_CALL, 7);
+}
+
DllExport int APIENTRY CountFramesQueuedOnStream(int Stream)
{
BPQVECSTRUC * PORTVEC = &BPQHOSTVECTOR[Stream-1]; // API counts from 1