]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/io: log another message if `freebind` isn't supported
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 24 Aug 2022 08:58:26 +0000 (10:58 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 24 Aug 2022 09:00:26 +0000 (11:00 +0200)
commit07bfefe40b8b0c9d72576b075bb01aac6c84c5ee
tree1c13a47cb5c27c1ef6b6d63a4df0890f1cbd71f0
parent8b6e838e5cfb63301a095dcc896d4ad9a3f9addf
daemon/io: log another message if `freebind` isn't supported

So far the message wasn't pointing to freebind at all:
[net   ] bind to '::1@53' (UDP): Operation not supported

I used preprocessor to avoid duplication and unused warnings.

Another way would be to ignore the freebind option if not supported,
but I think it's better to convince users not to specify it.
daemon/io.c