Skip to content

Commit 2d3c577

Browse files
authored
Allow the use of IP-clash detection, also when auto-IP is not enabled (#1299)
1 parent a4b6330 commit 2d3c577

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2849,8 +2849,12 @@ STATIC_ASSERT( ipconfigDNS_SEND_BLOCK_TIME_TICKS <= portMAX_DELAY );
28492849
#define ipconfigARP_USE_CLASH_DETECTION ipconfigDISABLE
28502850
#endif
28512851

2852+
/* Allow the use of IP-clash detection, also when
2853+
* fall-back to auto-IP is not enabled.
2854+
* But issue a warning to make the user double-check this setting.
2855+
*/
28522856
#if ( ipconfigIS_ENABLED( ipconfigARP_USE_CLASH_DETECTION ) )
2853-
#error ipconfigARP_USE_CLASH_DETECTION is unused when ipconfigDHCP_FALL_BACK_AUTO_IP is disabled
2857+
#warning ipconfigARP_USE_CLASH_DETECTION is unused when ipconfigDHCP_FALL_BACK_AUTO_IP is disabled
28542858
#endif
28552859

28562860
/*-----------------------------------------------------------------------*/

0 commit comments

Comments
 (0)