ppp: TUN channel should not be opened NONBLOCKING

We don't handle it as a nonblocking channel and getting it right would
be a nightmare.
This commit is contained in:
Denis Kenzior 2010-04-13 15:35:55 -05:00
parent 7085818f23
commit c74e2ab189
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ struct ppp_net *ppp_net_new(GAtPPP *ppp)
if (channel == NULL)
goto error;
if (!g_at_util_setup_io(channel, G_IO_FLAG_NONBLOCK))
if (!g_at_util_setup_io(channel, 0))
goto error;
g_io_channel_set_buffered(channel, FALSE);