]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
Apply patch for sync serial support from Paul Fulghum.
[ppp.git] / pppd / sys-linux.c
index e85988665924545ac1887d1b22d5c9570b8894aa..718a678bfbc4a4abf3af87d0547636b0a3b8a5a8 100644 (file)
@@ -866,6 +866,7 @@ void ppp_send_config (int unit,int mtu,u_int32_t asyncmap,int pcomp,int accomp)
     x = get_flags();
     x = pcomp  ? x | SC_COMP_PROT : x & ~SC_COMP_PROT;
     x = accomp ? x | SC_COMP_AC   : x & ~SC_COMP_AC;
+    x = sync_serial ? x | SC_SYNC : x & ~SC_SYNC;
     set_flags(x);
 }