]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: etc/config - explicitly bind to localhost
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 18 Feb 2019 14:13:49 +0000 (15:13 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:32 +0000 (10:43 +0100)
Since we drop priviledges in the config, we need to bind
explicitly before that happens.

etc/config/meson.build

index b02e027fa89fbfee4b52e234dfe847b683344cf5..c6f5023b8d5ad63e87aa4b2d8f629740400eb0fa 100644 (file)
@@ -6,8 +6,8 @@ if systemd_unit_files == 'enabled'
 -- Network interface configuration: see kresd.systemd(7)'''
 else
   config_defaults = '''
--- Listen on localhost (default) and external interface
--- net = { '127.0.0.1', '::1', '192.0.2.1' }
+-- Listen on localhost
+net = { '127.0.0.1', '::1' }
 
 -- Drop root privileges
 user('@0@', '@1@')'''.format(user, group)