diff --git a/peer.cpp b/peer.cpp index e068aa3..5e48795 100644 --- a/peer.cpp +++ b/peer.cpp @@ -27,6 +27,14 @@ #include "timer.h" #include "socket.h" +#ifndef TraceLoggingIPv4Address +#define TraceLoggingIPv4Address(value, ...) _tlgArgScalarVal(UINT32, value, TlgInUINT32, (TlgOutIPV4), __VA_ARGS__) +#endif + +#ifndef TraceLoggingIPv6Address +#define TraceLoggingIPv6Address(pValue, ...) _tlgArgBinary(void, pValue, 16u, TlgInBINARY, (TlgOutIPV6), __VA_ARGS__) +#endif + _Use_decl_annotations_ OvpnPeerContext* OvpnPeerCtxAlloc()