[ULOGD PATCH 6/6] Fix display of DESTROY event.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DESTROY event were not correctly displayed due to a problem in event type
detection.

Signed-off-by: Eric Leblond <eric@xxxxxx>
---
:100644 100644 272ee4f... d2ce952... M	util/printflow.c
 util/printflow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/printflow.c b/util/printflow.c
index 272ee4f..d2ce952 100644
--- a/util/printflow.c
+++ b/util/printflow.c
@@ -153,7 +153,7 @@ int printflow_print(struct ulogd_key *res, char *buf)
 			case 2:
 				buf_cur += sprintf(buf_cur, "[UPDATE] ");
 				break;
-			case 3:
+			case 4:
 				buf_cur += sprintf(buf_cur, "[DESTROY] ");
 				break;
 		}
-- 
1.5.2.5

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux