only holepunch uses this

This commit is contained in:
Alug committed 2025-04-14 11:30:51 +02:00
1 parent 5c6c46848e
commit 8db082501e
1 file changed
+2 -2
+2 -2
View File
@@ -599,6 +599,7 @@ void Command_Numnodes(void)
#endif
#ifndef NONET
#ifdef HOLEPUNCH
/* not one of the reserved "local" addresses */
static boolean
is_external_address (UINT32 p)
@@ -624,7 +625,6 @@ is_external_address (UINT32 p)
}
}
#ifdef HOLEPUNCH
static boolean hole_punch(ssize_t c)
{
@@ -650,7 +650,7 @@ static boolean hole_punch(ssize_t c)
}
}
#endif
#endif //ifdef HOLEPUNCH
// Returns true if a packet was received from a new node, false in all other cases
static boolean SOCK_Get(void)