summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_osf.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_osf.c')
-rw-r--r--extensions/libxt_osf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_osf.c b/extensions/libxt_osf.c
index a97884b9..20acfeab 100644
--- a/extensions/libxt_osf.c
+++ b/extensions/libxt_osf.c
@@ -114,7 +114,7 @@ static int osf_parse(int c, char **argv, int invert, unsigned int *flags,
static void osf_final_check(unsigned int flags)
{
- if (!flags)
+ if (!(flags & XT_OSF_GENRE))
xtables_error(PARAMETER_PROBLEM,
"OS fingerprint match: You must specify `--genre'");
}