diff --git a/src/i_tcp.c b/src/i_tcp.c index 79373abc8..c27fa2480 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -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)