From b870b949470af0b1b578590b38efdd80048b539e Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 29 Sep 2015 18:21:54 +0200 Subject: src: add dup statement support This allows you to clone packets to destination address, eg. ... dup to 172.20.0.2 ... dup to 172.20.0.2 device eth1 ... dup to ip saddr map { 192.168.0.2 : 172.20.0.2, ... } device eth1 Signed-off-by: Pablo Neira Ayuso --- src/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meta.c') diff --git a/src/meta.c b/src/meta.c index bfc12580..6f79c401 100644 --- a/src/meta.c +++ b/src/meta.c @@ -160,7 +160,7 @@ static struct error_record *ifindex_type_parse(const struct expr *sym, return NULL; } -static const struct datatype ifindex_type = { +const struct datatype ifindex_type = { .type = TYPE_IFINDEX, .name = "iface_index", .desc = "network interface index", -- cgit v1.2.3