From: /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org Date: Sat, 5 Apr 2008 15:39:09 +0000 (+0000) Subject: Arp related key have to be optionnal to be able to use the IP2STR module X-Git-Tag: ulogd-2.0.0beta2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b73cdee6e372e27a96fc50d38232825e66f9e73;p=thirdparty%2Fulogd2.git Arp related key have to be optionnal to be able to use the IP2STR module for flow display. Signed-off-by: Eric Leblond --- 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", }, };