From 7b73cdee6e372e27a96fc50d38232825e66f9e73 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Sat, 5 Apr 2008 15:39:09 +0000 Subject: Arp related key have to be optionnal to be able to use the IP2STR module for flow display. Signed-off-by: Eric Leblond --- filter/ulogd_filter_IP2STR.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filter') diff --git a/filter/ulogd_filter_IP2STR.c b/filter/ulogd_filter_IP2STR.c index 54e7d94..9f36d60 100644 --- a/filter/ulogd_filter_IP2STR.c +++ b/filter/ulogd_filter_IP2STR.c @@ -89,12 +89,12 @@ static struct ulogd_key ip2str_inp[] = { }, [KEY_ARP_SPA] = { .type = ULOGD_RET_IPADDR, - .flags = ULOGD_RETF_NONE, + .flags = ULOGD_RETF_NONE|ULOGD_KEYF_OPTIONAL, .name = "arp.saddr", }, [KEY_ARP_TPA] = { .type = ULOGD_RET_IPADDR, - .flags = ULOGD_RETF_NONE, + .flags = ULOGD_RETF_NONE|ULOGD_KEYF_OPTIONAL, .name = "arp.daddr", }, }; -- cgit v1.2.3