vTCPNetStat print to buffer?

Any ideas how this could print to a buffer instead? Right now it uses FreeRTOS_printf, which doesn’t play with FreeRTOS CLI in this case. I’d like to be able to print this on command.

That is hard coded so we would need to change the source code. One option would be to have a separate macro for printing the stat data. For example, replace the call to FreeRTOS_printf() with something like FreeRTOS_netstat_printf() that the user can define as they wish, and gets mapped to FreeRTOS_printf() if left undefined. If you create a pull request for that then the defaulting would require an update to FreeRTOSIPConfigDefaults.h.