|
@@ -655,8 +655,10 @@ static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
|
break;
|
|
break;
|
|
ppp_lock(ppp);
|
|
ppp_lock(ppp);
|
|
cflags = ppp->flags & ~val;
|
|
cflags = ppp->flags & ~val;
|
|
|
|
+#ifdef CONFIG_PPP_MULTILINK
|
|
if (!(ppp->flags & SC_MULTILINK) && (val & SC_MULTILINK))
|
|
if (!(ppp->flags & SC_MULTILINK) && (val & SC_MULTILINK))
|
|
ppp->nextseq = 0;
|
|
ppp->nextseq = 0;
|
|
|
|
+#endif
|
|
ppp->flags = val & SC_FLAG_BITS;
|
|
ppp->flags = val & SC_FLAG_BITS;
|
|
ppp_unlock(ppp);
|
|
ppp_unlock(ppp);
|
|
if (cflags & SC_CCP_OPEN)
|
|
if (cflags & SC_CCP_OPEN)
|