tc = ASSERT_PTR(req->traffic_control);
r = traffic_control_is_ready_to_configure(link, tc);
- if (r <= 0) {
+ if (r <= 0)
return r;
- }
r = traffic_control_configure(link, tc);
if (r < 0)
log_info("test-resolved-stream: Started %s test", tls ? "TLS" : "TCP");
#if ENABLE_DNS_OVER_TLS
- if (tls) {
- /* For TLS mode, use DNS_OVER_TLS_OPPORTUNISTIC instead of
- * DNS_OVER_TLS_YES, just to make certificate validation more
- * lenient, allowing us to use self-signed certificates.
- * We never downgrade, everything we test always goes over TLS */
+ if (tls)
+ /* For TLS mode, use DNS_OVER_TLS_OPPORTUNISTIC instead of DNS_OVER_TLS_YES, just to make
+ * certificate validation more lenient, allowing us to use self-signed certificates. We
+ * never downgrade, everything we test always goes over TLS */
manager.dns_over_tls_mode = DNS_OVER_TLS_OPPORTUNISTIC;
- }
#endif
assert_se(sd_event_new(&event) >= 0);