Skip to content

Commit

Permalink
FIX - Sensor not start without server enabled (opnsense#1650)
Browse files Browse the repository at this point in the history
Sensor now starts even with local server disabled.
  • Loading branch information
juliocbc authored Dec 23, 2020
1 parent 1f05a5b commit b2d5d68
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ UDP_ADDRESS {{ OPNsense.maltrail.server.loglistenaddress }}
{% if helpers.exists('OPNsense.maltrail.server.loglistenport') and OPNsense.maltrail.server.loglistenport != '' %}
UDP_PORT {{ OPNsense.maltrail.server.loglistenport }}
{% endif %}
{% else %}
HTTP_PORT {{ OPNsense.maltrail.server.listenport }}
{% endif %}

{% if helpers.exists('OPNsense.maltrail.sensor.enabled') and OPNsense.maltrail.sensor.enabled == '1' %}
Expand Down

0 comments on commit b2d5d68

Please sign in to comment.