Skip to content

Commit

Permalink
fix: changed bind-interfaces with bind-dynamic (#4959)
Browse files Browse the repository at this point in the history
* fix: changed bind-interfaces with bind-dynamic

* fix: returned formatting
  • Loading branch information
GregoryIvo authored Nov 10, 2023
1 parent 087b214 commit 2ef7d20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class DnsmasqTool implements DhcpLinuxTool {
private static final Logger logger = LoggerFactory.getLogger(DnsmasqTool.class);

private String globalConfigFilename = "/etc/dnsmasq.d/dnsmasq-globals.conf";
private static final String GLOBAL_CONFIGURATION = "port=0\nbind-interfaces\ndhcp-leasefile=/var/lib/dhcp/dnsmasq.leases\n";
private static final String GLOBAL_CONFIGURATION = "port=0\nbind-dynamic\ndhcp-leasefile=/var/lib/dhcp/dnsmasq.leases\n";

static final Command IS_ACTIVE_COMMAND = new Command(new String[] { "systemctl", "is-active", "--quiet",
DhcpServerTool.DNSMASQ.getValue() });
Expand Down

0 comments on commit 2ef7d20

Please sign in to comment.