]> git.ozlabs.org Git - ppp.git/commitdiff
turn off VJ when connection terminated
authorPaul Mackerras <paulus@samba.org>
Mon, 1 Jul 1996 05:32:17 +0000 (05:32 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 1 Jul 1996 05:32:17 +0000 (05:32 +0000)
pppd/ipcp.c

index d8f1933ba98ac8dd3542d819ab2016ea798570ac..65662c981d29bbafbc905878675b2d80aa1ce8d7 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: ipcp.c,v 1.26 1996/07/01 01:13:53 paulus Exp $";
+static char rcsid[] = "$Id: ipcp.c,v 1.27 1996/07/01 05:32:17 paulus Exp $";
 #endif
 
 /*
@@ -1222,8 +1222,9 @@ ipcp_down(f)
 {
     u_int32_t ouraddr, hisaddr;
 
-    np_down(f->unit, PPP_IP);
     IPCPDEBUG((LOG_INFO, "ipcp: down"));
+    np_down(f->unit, PPP_IP);
+    sifvjcomp(f->unit, 0, 0, 0);
 
     /*
      * If we are doing dial-on-demand, set the interface