diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-08-22 17:03:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-24 09:44:44 +0200 |
commit | af00174af3ef478d7d8d96d15647ad1bbb0bc919 (patch) | |
tree | 20e2cd8b7719c9bd0f9ae9b6f1ca5d6cf7162e7d /src/osf.c | |
parent | 1ecfaa2a9f5191823a3c3cd19b760fcb69f7d38d (diff) |
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 <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/osf.c')
-rw-r--r-- | src/osf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |