summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-08-30 19:18:42 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-31 18:40:14 +0200
commit1524134b0bc013bf8facd62295dd537197d95230 (patch)
treece43e4b4bf0c080a7bd6312b52a61531f8192f00 /include
parent2de594ccb99c70bc908a3f4cc477618babffff6b (diff)
src: osf: load pf.os from expr_evaluate_osf()
Remove osf_init variable and call nfnl_osf_load_fingerprints() from expr_evaluate_osf() instead of doing that from do_command_add() path. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/osf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/osf.h b/include/osf.h
index 074ba9a3..54cdd4af 100644
--- a/include/osf.h
+++ b/include/osf.h
@@ -3,7 +3,6 @@
struct expr *osf_expr_alloc(const struct location *loc);
-extern bool osf_init;
extern int nfnl_osf_load_fingerprints(struct netlink_ctx *ctx, int del);
#endif /* NFTABLES_OSF_H */