MT#55283 early return for no-support case

We can bail right there instead of having to rely on the
`(!reti->local.family)` condition

Change-Id: I584e90dd1a705cfbe1cd3e3d849e1fa88f511448
rfuchs/2133
Richard Fuchs 3 weeks ago
parent 7c5dbd1ca0
commit dbcd657908

@ -1965,8 +1965,10 @@ static void kernelize(struct packet_stream *stream) {
goto no_kernel;
const char *err = kernelize_target(&s, stream);
if (err)
if (err) {
ilog(LOG_WARNING, "No support for kernel packet forwarding available (%s)", err);
goto no_kernel;
}
__auto_type reti = &s.reti.target;

Loading…
Cancel
Save