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

Closes-Bug: #1968937
Change-Id: I4bfa487e6c982c99314112a58da61d6e53935b90
This commit is contained in:
Takashi Kajinami 2022-04-14 09:20:47 +09:00
parent 69ca2766c4
commit 98c9b5c81b
1 changed files with 3 additions and 0 deletions

View File

@ -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