]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-solaris.c
pppd: Fix `ifname` option in case of multilink (#105)
[ppp.git] / pppd / sys-solaris.c
index 50ce3dfac2d39a28e1ba26a3e5175f6bc0a73388..633cf5f78cf9fa48958d4a7bbf38b1c294a4ae24 100644 (file)
 #define        UDP6_DEV_NAME   "/dev/udp6"
 #endif /* !defined(UDP6_DEV_NAME) && defined(SOL2) */
 
-static const char rcsid[] = RCSID;
 
 #if defined(SOL2)
 /*
@@ -1225,6 +1224,9 @@ set_up_tty(fd, local)
     }
 #endif
 
+    if (stop_bits >= 2)
+       tios.c_cflag |= CSTOPB;
+
     tios.c_cflag |= CS8 | CREAD | HUPCL;
     if (local || !modem)
        tios.c_cflag |= CLOCAL;