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)
(cherry picked from commit ef54dbe419)
mr13.5.1
Richard Fuchs 1 month ago
parent 3239976e3c
commit 98d9d5dfe4

@ -1908,8 +1908,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;
}
// primary RTP sinks
for (__auto_type l = stream->rtp_sinks.head; l; l = l->next) {

Loading…
Cancel
Save