]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipcp.c
add defns for debug stuff
[ppp.git] / pppd / ipcp.c
index b3096c6501e27404cf4742c87c29adbcb8143102..112def979666ec79395711d8b2965022b1d0c9b4 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: ipcp.c,v 1.17 1995/04/28 06:24:53 paulus Exp $";
+static char rcsid[] = "$Id: ipcp.c,v 1.19 1995/06/01 01:30:38 paulus Exp $";
 #endif
 
 /*
@@ -581,7 +581,8 @@ ipcp_nakci(f, p, len)
            if (ciaddr1 && go->accept_local)
                try.ouraddr = ciaddr1;
            if (try.ouraddr != 0)
-               no.neg_addr = 1;
+               try.neg_addr = 1;
+           no.neg_addr = 1;
            break;
        default:
            goto bad;
@@ -888,7 +889,7 @@ ipcp_reqci(f, inp, len, reject_if_disagree)
                    }
                }
                ho->maxslotindex = maxslotindex;
-               ho->cflag = wo->cflag;
+               ho->cflag = cflag;
            } else {
                ho->old_vj = 1;
                ho->maxslotindex = MAX_STATES - 1;