]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
printpkt: oob.time.sec was not used
authorEric Leblond <eric@regit.org>
Fri, 7 Mar 2014 21:49:37 +0000 (22:49 +0100)
committerEric Leblond <eric@regit.org>
Fri, 7 Mar 2014 21:54:13 +0000 (22:54 +0100)
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>
include/ulogd/printpkt.h
util/printpkt.c

index a11ce4a110e2f477dcb1788d8819f37b64daa246..5f9c57ce2140b56aa34f7bd45be9c08e8f384ce2 100644 (file)
@@ -3,7 +3,6 @@
 
 enum pkt_keys {
        KEY_OOB_FAMILY,
-       KEY_OOB_TIME_SEC,
        KEY_OOB_PREFIX,
        KEY_OOB_IN,
        KEY_OOB_OUT,
index 6b646e977a665505f9503b8a098834afd381e5a9..eb6cfbf613ad6b8d4b153953067b14275282dc28 100644 (file)
@@ -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", },