1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +01:00

Set default listen-address in dnsmasq config

I was having issues where dnsmasq was trying to listen on some weird
IPv6 address by default; setting this explicitly solves that.
This commit is contained in:
Adam Wathan
2017-10-17 12:04:35 -04:00
parent 7d2b4303cb
commit ac06650483

View File

@@ -61,7 +61,7 @@ function createCustomConfigFile($domain)
$this->appendCustomConfigImport($customConfigPath);
$this->files->putAsUser($customConfigPath, 'address=/.'.$domain.'/127.0.0.1'.PHP_EOL);
$this->files->putAsUser($customConfigPath, 'address=/.'.$domain.'/127.0.0.1'.PHP_EOL.'listen-address=127.0.0.1'.PHP_EOL);
}
/**