summaryrefslogtreecommitdiff
path: root/FreeRTOS-Plus/Demo/Common/Logging
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS-Plus/Demo/Common/Logging')
-rw-r--r--FreeRTOS-Plus/Demo/Common/Logging/windows/Logging_WinSim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/FreeRTOS-Plus/Demo/Common/Logging/windows/Logging_WinSim.c b/FreeRTOS-Plus/Demo/Common/Logging/windows/Logging_WinSim.c
index f9122e3d9..0b2244381 100644
--- a/FreeRTOS-Plus/Demo/Common/Logging/windows/Logging_WinSim.c
+++ b/FreeRTOS-Plus/Demo/Common/Logging/windows/Logging_WinSim.c
@@ -191,6 +191,8 @@ void vLoggingInit( BaseType_t xLogToStdout,
xPrintUDPAddress.sin_addr = ulRemoteIPAddress;
}
#endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */
+
+ xPrintUDPAddress.sin_family = FREERTOS_AF_INET;
}