Commit 7573f2d5 authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: return an error for UDP in bare-socket

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 9e764429
......@@ -112,6 +112,9 @@ static int bare_open_ch(struct pp_instance *ppi, char *ifname)
return 0;
}
pp_printf("%s: can't init UDP channels yet\n", __func__);
return -1;
err_out:
pp_printf("%s: %s: fatal error, errno = %i\n", __func__, context,
bare_errno);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment