1 --- lib/fko_decode.c.orig Wed Sep 5 06:04:48 2012
2 +++ lib/fko_decode.c Sat Sep 8 15:11:00 2012
3 @@ -285,9 +285,9 @@ fko_decode_spa_data(fko_ctx_t ctx)
5 b64_decode(tbuf, (unsigned char*)ctx->message);
7 - /* Require a message similar to: 1.2.3.4,tcp/22
8 + /* Require a message similar to: 1.2.3.4,tcp/22 (if it's not command message)
10 - if(validate_access_msg(ctx->message) != FKO_SUCCESS)
11 + if(ctx->message_type != FKO_COMMAND_MSG && validate_access_msg(ctx->message) != FKO_SUCCESS)
14 return(FKO_ERROR_INVALID_DATA);