Commit a991e7e2 authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: bare: error out on udp init

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 7460ac6f
......@@ -130,10 +130,9 @@ static int bare_net_init(struct pp_instance *ppi)
return bare_open_ch(ppi, OPTS(ppi)->iface_name);
}
/* else: UDP */
/* else: UDP -- not supported */
PP_PRINTF("bare_net_init UDP\n");
return 0;
return -1;
}
static int bare_net_exit(struct pp_instance *ppi)
......
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