summaryrefslogtreecommitdiffstats
path: root/src/nfnl_osf.c
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 /src/nfnl_osf.c
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 'src/nfnl_osf.c')
-rw-r--r--src/nfnl_osf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nfnl_osf.c b/src/nfnl_osf.c
index e37510bd..fb76fb0e 100644
--- a/src/nfnl_osf.c
+++ b/src/nfnl_osf.c
@@ -43,8 +43,6 @@
#define OSFPDEL ':'
#define MAXOPTSTRLEN 128
-bool osf_init;
-
static struct nf_osf_opt IANA_opts[] = {
{ .kind = 0, .length = 1,},
{ .kind=1, .length=1,},