From af00174af3ef478d7d8d96d15647ad1bbb0bc919 Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Wed, 22 Aug 2018 17:03:46 +0200 Subject: src: osf: import nfnl_osf.c to load osf fingerprints Import iptables/utils/nfnl_osf.c into nftables tree with some changes in order to load OS fingerprints automatically from pf.os file. Signed-off-by: Fernando Fernandez Mancera Signed-off-by: Pablo Neira Ayuso --- src/osf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/osf.c') diff --git a/src/osf.c b/src/osf.c index 131d54e4..b8457cc4 100644 --- a/src/osf.c +++ b/src/osf.c @@ -26,6 +26,7 @@ struct expr *osf_expr_alloc(const struct location *loc) const struct datatype *type = &string_type; struct expr *expr; + osf_init = true; expr = expr_alloc(loc, &osf_expr_ops, type, BYTEORDER_HOST_ENDIAN, len); -- cgit v1.2.3