summaryrefslogtreecommitdiff
path: root/IPCode.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 /IPCode.c
parentf0ac0675f6ceff1a0b4223e6ea6b703c657d282f (diff)
New upstream version 6.0.24.67+repack
Diffstat (limited to 'IPCode.c')
-rw-r--r--IPCode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/IPCode.c b/IPCode.c
index f340d4b..54756e3 100644
--- a/IPCode.c
+++ b/IPCode.c
@@ -387,7 +387,7 @@ char * FormatIP(uint32_t Addr)
return FormatIPWork;
}
-int CompareRoutes (const VOID * a, const VOID * b)
+int CompareIPRoutes (const VOID * a, const VOID * b)
{
PROUTEENTRY x;
PROUTEENTRY y;
@@ -4972,7 +4972,7 @@ VOID SHOWIPROUTE(TRANSPORTENTRY * Session, char * Bufferptr, char * CmdTail, str
Bufferptr = Cmdprintf(Session, Bufferptr, "%d Entries\r", NumberofRoutes);
if (NumberofRoutes)
- qsort(RouteRecords, NumberofRoutes, sizeof(void *), CompareRoutes);
+ qsort(RouteRecords, NumberofRoutes, sizeof(void *), CompareIPRoutes);
for (i=0; i < NumberofRoutes; i++)
{