Remove bogus if-check when DUN client disconnects

This commit is contained in:
Johan Hedberg 2010-04-03 16:32:36 +03:00
parent 23f75004d8
commit 0a658cd945

View File

@ -146,7 +146,6 @@ static gboolean client_event(GIOChannel *chan,
debug("Disconnected DUN from %s (%s)", addr, client->tty_name);
client->io_watch = 0;
if (client->pnatd_pid < 0)
disconnect(server);
return FALSE;