From 6a28519008b239ac6985f8df46427459f6b5c624 Mon Sep 17 00:00:00 2001 From: Laurent Fasnacht Date: Mon, 10 Feb 2020 05:17:35 -0500 Subject: Inclusion depth was computed incorrectly for glob includes. Signed-off-by: Laurent Fasnacht Signed-off-by: Pablo Neira Ayuso --- include/nftables.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/nftables.h b/include/nftables.h index 07726e4d..3556728d 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -176,6 +176,7 @@ enum input_descriptor_types { * * @location: location, used for include statements * @f: file descriptor + * @depth: include depth of the descriptor * @type: input descriptor type * @name: name describing the input * @union: buffer or file descriptor, depending on type @@ -187,6 +188,7 @@ enum input_descriptor_types { struct input_descriptor { struct list_head list; FILE *f; + unsigned int depth; struct location location; enum input_descriptor_types type; const char *name; -- cgit v1.2.3