summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2014-03-07 22:49:37 +0100
committerEric Leblond <eric@regit.org>2014-03-07 22:54:13 +0100
commit26480953dab3d07fc78f4c437ffefeb25fee0d5b (patch)
tree2ccadaf0e8813227d3d25ac2221526b69bd46791
parent2b39df550fbad944b4aab77617d4272c5d62ba70 (diff)
printpkt: oob.time.sec was not used
This patch supresses the oob.time.sec from the input keys as this is not used when creating the string corresponding to the packet. Signed-off-by: Eric Leblond <eric@regit.org>
-rw-r--r--include/ulogd/printpkt.h1
-rw-r--r--util/printpkt.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/ulogd/printpkt.h b/include/ulogd/printpkt.h
index a11ce4a..5f9c57c 100644
--- a/include/ulogd/printpkt.h
+++ b/include/ulogd/printpkt.h
@@ -3,7 +3,6 @@
enum pkt_keys {
KEY_OOB_FAMILY,
- KEY_OOB_TIME_SEC,
KEY_OOB_PREFIX,
KEY_OOB_IN,
KEY_OOB_OUT,
diff --git a/util/printpkt.c b/util/printpkt.c
index 6b646e9..eb6cfbf 100644
--- a/util/printpkt.c
+++ b/util/printpkt.c
@@ -39,7 +39,6 @@
struct ulogd_key printpkt_keys[] = {
[KEY_OOB_FAMILY] = { .name = "oob.family", },
[KEY_OOB_PROTOCOL] = { .name = "oob.protocol", },
- [KEY_OOB_TIME_SEC] = { .name = "oob.time.sec", },
[KEY_OOB_PREFIX] = { .name = "oob.prefix", },
[KEY_OOB_IN] = { .name = "oob.in", },
[KEY_OOB_OUT] = { .name = "oob.out", },