Browse Source

[telnet server]add message "Сохраните сетевые настройки " for white list

balbekova 6 years ago
parent
commit
5d60c22851
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/Telnet_Server/CLI_Commands.c

+ 1 - 0
modules/Telnet_Server/CLI_Commands.c

@@ -1348,6 +1348,7 @@ static portBASE_TYPE prvTaskWhiteListCommand( int8_t *pcWriteBuffer, size_t xWri
 						}
 						if(ipaddr_addr(temp_str) != IPADDR_NONE){
 							SetWhiteListSTR(str, (temp - 1));
+							strcpy( ( char * ) pcWriteBuffer, "\t\tСохраните конфигурацию сетевых настроек\r\n" );
 						}
 						else{
 							strncpy( ( char * ) pcWriteBuffer, ( const char * ) pcInvalidCommand, strlen( ( char * ) pcInvalidCommand ) );