1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-24 12:02:37 +08:00

Fix build issue with network interface of STM32F4 (#778)

* fix build errors with STM32F4 netwrok interface

* moves the default config for ipconfigUSE_DHCPv6 outside of ipconfigUSE_TCP check

* Uncrustify: triggered by comment.

---------

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tony Josi
2023-03-13 15:42:03 +05:30
committed by GitHub
parent f6d167d4e2
commit b4a928b354
2 changed files with 26 additions and 30 deletions

View File

@@ -189,12 +189,12 @@
#define ipconfigMULTI_INTERFACE ( 1 )
#endif
#if ( ipconfigUSE_TCP != 0 )
/* Disable IPv6 by default. */
#ifndef ipconfigUSE_DHCPv6
#define ipconfigUSE_DHCPv6 ( 0 )
#endif
#ifndef ipconfigUSE_DHCPv6
#define ipconfigUSE_DHCPv6 ( 0 )
#endif
#if ( ipconfigUSE_TCP != 0 )
/* 'ipconfigUSE_TCP_WIN' enables support for TCP sliding windows. When
* defined as zero, each TCP packet must be acknowledged individually.