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
(cherry picked from commit dbcd657908)
mr26.1
Richard Fuchs 3 weeks ago
parent 04b565ef93
commit 250cc1276f

@ -1970,8 +1970,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