View | Details | Raw Unified | Return to bug 11110
Collapse All | Expand All

(-)ppp-2.4.4_patched/pppd/ccp.c (-5 / +3 lines)
Lines 62-70 Link Here
62
static char bsd_value[8];
62
static char bsd_value[8];
63
static char deflate_value[8];
63
static char deflate_value[8];
64
64
65
/*
66
 * Option variables.
67
 */
68
#ifdef MPPE
65
#ifdef MPPE
69
static int setmppe(char **);
66
static int setmppe(char **);
70
static int setnomppe(void);
67
static int setnomppe(void);
Lines 993-998 Link Here
993
		&& p[5] != ((go->mppe_128 ? MPPE_128BIT : 0) |
988
		&& p[5] != ((go->mppe_128 ? MPPE_128BIT : 0) |
994
			    (go->mppc ? MPPE_MPPC : 0))))
989
			    (go->mppc ? MPPE_MPPC : 0))))
995
	    return 0;
990
	    return 0;
991
	if (go->mppe_40 || go->mppe_56 || go->mppe_128)
992
	    go->mppe = 1;
996
	p += CILEN_MPPE;
993
	p += CILEN_MPPE;
997
	len -= CILEN_MPPE;
994
	len -= CILEN_MPPE;
998
	/* Cope with first/fast ack */
995
	/* Cope with first/fast ack */
Lines 1626-1635 Link Here
1626
		if ((!ho->mppc || !ao->mppc) && !ho->mppe) {
1621
		if ((!ho->mppc || !ao->mppc) && !ho->mppe) {
1627
		    p[2] = p2;
1622
		    p[2] = p2;
1628
		    p[5] = p5;
1623
		    p[5] = p5;
1629
			newret = CONFREJ;
1624
		    newret = CONFNAK;
1630
			break;
1625
			break;
1631
		    }
1626
		    }
1632
    
1633
		/*
1627
		/*
1634
		 * I have commented the code below because according to RFC1547
1628
		 * I have commented the code below because according to RFC1547
1635
		 * MTU is only information for higher level protocols about
1629
		 * MTU is only information for higher level protocols about

Return to bug 11110