diff --git a/plugins/ident/p0f b/plugins/ident/p0f index d8d2597..aa6c9a3 100644 --- a/plugins/ident/p0f +++ b/plugins/ident/p0f @@ -166,6 +166,11 @@ sub register { foreach (keys %args) { $self->{_args}->{$_} = $args{$_}; } + $self->register_headers(); +} + +sub register_headers { + my ( $self ) = @_; my $enabled = $self->{_args}{add_headers}; $enabled = 'true' if ! defined $enabled; return if $enabled =~ /false/i;