@@ -4007,6 +4007,7 @@ WOLFSENTRY_API wolfsentry_errcode_t wolfsentry_route_format_json(
40074007 write_string ("\"remote\":{" );
40084008
40094009 if (have_r_attr (SA_REMOTE_ADDR )) {
4010+ #ifndef WOLFSENTRY_NO_STDIO_STREAMS
40104011#ifdef WOLFSENTRY_ADDR_BITMASK_MATCHING
40114012 if (r -> flags & WOLFSENTRY_ROUTE_FLAG_REMOTE_ADDR_BITMASK ) {
40124013 int len_in_out = (int )* json_out_len ;
@@ -4053,6 +4054,7 @@ WOLFSENTRY_API wolfsentry_errcode_t wolfsentry_route_format_json(
40534054 WOLFSENTRY_RERETURN_IF_ERROR (ws_itoa (WOLFSENTRY_ROUTE_REMOTE_ADDR_BITS (r ), json_out , json_out_len ));
40544055 write_byte (',' );
40554056 }
4057+ #endif /* !WOLFSENTRY_NO_STDIO_STREAMS */
40564058 }
40574059 if (have_r_attr (SA_REMOTE_PORT )) {
40584060 write_string ("\"port\":" );
@@ -4075,6 +4077,7 @@ WOLFSENTRY_API wolfsentry_errcode_t wolfsentry_route_format_json(
40754077 write_string ("\"local\":{" );
40764078
40774079 if (have_r_attr (SA_LOCAL_ADDR )) {
4080+ #ifndef WOLFSENTRY_NO_STDIO_STREAMS
40784081#ifdef WOLFSENTRY_ADDR_BITMASK_MATCHING
40794082 if (r -> flags & WOLFSENTRY_ROUTE_FLAG_LOCAL_ADDR_BITMASK ) {
40804083 int len_in_out = (int )* json_out_len ;
@@ -4121,6 +4124,7 @@ WOLFSENTRY_API wolfsentry_errcode_t wolfsentry_route_format_json(
41214124 WOLFSENTRY_RERETURN_IF_ERROR (ws_itoa (WOLFSENTRY_ROUTE_LOCAL_ADDR_BITS (r ), json_out , json_out_len ));
41224125 write_byte (',' );
41234126 }
4127+ #endif /* !WOLFSENTRY_NO_STDIO_STREAMS */
41244128 }
41254129
41264130 if (have_r_attr (SA_LOCAL_PORT )) {
0 commit comments