X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fipcp.c;h=2735e50d9b3f82228b513e0dfc43d21eadc60bad;hb=dd0bf70f1610a74e26c03972bfd639f8c03ad56b;hp=37d62c694ab69f9021c112d4289cf873e7efcdc4;hpb=a3396b002507d72b3e1f1169bd02ae018539654b;p=ppp.git diff --git a/pppd/ipcp.c b/pppd/ipcp.c index 37d62c6..2735e50 100644 --- a/pppd/ipcp.c +++ b/pppd/ipcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: ipcp.c,v 1.11 1994/09/21 06:47:37 paulus Exp $"; +static char rcsid[] = "$Id: ipcp.c,v 1.12 1994/10/10 01:59:17 paulus Exp $"; #endif /* @@ -493,7 +493,7 @@ ipcp_nakci(f, p, len) * Accept the peer's idea of {our,his} address, if different * from our idea, only if the accept_{local,remote} flag is set. */ - NAKCIADDR(CI_ADDR, neg_addr, go->old_addrs, + NAKCIADDR((go->old_addrs? CI_ADDRS: CI_ADDR), neg_addr, go->old_addrs, if (go->accept_local && ciaddr1) { /* Do we know our address? */ try.ouraddr = ciaddr1; IPCPDEBUG((LOG_INFO, "local IP address %s",