Inspector: Fix missing log-facility when tftp protocol is used

Closes-Bug: #1968937
Change-Id: I4bfa487e6c982c99314112a58da61d6e53935b90
changes/85/837785/1
Takashi Kajinami 8 months ago
parent 69ca2766c4
commit 98c9b5c81b
  1. 3
      templates/inspector_dnsmasq_tftp.erb

@ -4,6 +4,9 @@ interface=<%= @dnsmasq_interface %>
log-dhcp
log-queries
<% end %>
<% if ! @dnsmasq_log_facility.nil? %>
log-facility=<%= @dnsmasq_log_facility %>
<% end -%>
<% @dnsmasq_ip_subnets_real.each do |s| -%>
<% if s['tag'] and s['netmask'] -%>
dhcp-range=set:<%= s['tag'] -%>,<%= s['ip_range'] -%>,<%= s['netmask'] -%>,10m

Loading…
Cancel
Save