diff options
author | Paul Holzinger <pholzing@redhat.com> | 2024-02-22 18:17:41 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-02-27 14:08:33 +0100 |
commit | 15001b39ef1d41c0535ef0d2384e074c6f85cefd (patch) | |
tree | 52b5bdd578caf88a70fb5b196969f861b9771b01 /tap.c | |
parent | b08716551afd5a3c78d674226d71a4bbcc05b3de (diff) | |
download | passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.tar passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.tar.gz passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.tar.bz2 passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.tar.lz passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.tar.xz passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.tar.zst passt-15001b39ef1d41c0535ef0d2384e074c6f85cefd.zip |
conf: set the log level much earlier
--quiet is supposed to silence the "No routable interface" message but
it does not work because the log level was set long after conf_ip4/6()
was called which means it uses the default level which logs everything.
To address this move the log level logic directly after the option
parsing in conf().
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions