-/*
- * Switch to the tty slave and put that into the PPP discipline.
- */
- set_ppp_fd(slave_fd);
-
- if (ioctl(ppp_fd, TIOCSETD, &ppp_disc) < 0)
- {
- syslog(LOG_ERR, "ioctl(TIOCSETD): %m(%d)", errno);
- die(1);
- }
-/*
- * Fetch the current unit identifier.
- */
- if (ioctl(ppp_fd, PPPIOCGUNIT, &ifunit) < 0)
- {
- syslog(LOG_ERR, "ioctl(PPPIOCGUNIT): %m(%d)", errno);
- die(1);
- }
-/*
- * Restore the parameters for the PPP link.
- */
- ppp_send_config(0, PPP_MRU, (u_int32_t) 0, 0, 0);
- ppp_recv_config(0, PPP_MRU, (u_int32_t) 0, 0, 0);
-/*
- * Reconfigure the IP addresses for the demand dial system.
- */
- (void) (ipcp_protent.demand_conf) (0);