From 1bd9af48278de02c969aa2970262891ae6bb9f20 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 8 Oct 2010 21:27:42 +0200 Subject: expect: add missing tags for expectation events This patch adds missing tags such as [UPDATE] and [DESTROY] for expectation events. The Linux kernel does not support any of this expectation events yet, but we include it for future use. Signed-off-by: Pablo Neira Ayuso --- src/expect/snprintf_default.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/expect/snprintf_default.c') diff --git a/src/expect/snprintf_default.c b/src/expect/snprintf_default.c index 7b088e7..be8d267 100644 --- a/src/expect/snprintf_default.c +++ b/src/expect/snprintf_default.c @@ -29,6 +29,12 @@ int __snprintf_expect_default(char *buf, case NFCT_T_NEW: ret = snprintf(buf, len, "%9s ", "[NEW]"); break; + case NFCT_T_UPDATE: + ret = snprintf(buf, len, "%9s ", "[UPDATE]"); + break; + case NFCT_T_DESTROY: + ret = snprintf(buf, len, "%9s ", "[DESTROY]"); + break; default: break; } -- cgit v1.2.3