- if(p->status.dataopen)
- if(FD_ISSET(p->socket, f))
- {
- handle_incoming_vpn_data(p);
-
- /* Old error stuff (FIXME: copy this to handle_incoming_vpn_data()
-
- getsockopt(p->socket, SOL_SOCKET, SO_ERROR, &x, &l);
- syslog(LOG_ERR, _("Outgoing data socket error for %s (%s): %s"),
- p->name, p->hostname, strerror(x));
- terminate_connection(p);
- */
- return;
- }
-