Module Name: src
Committed By: pgoyette
Date: Fri Mar 30 23:56:18 UTC 2018
Modified Files:
src/sys/net [pgoyette-compat]: if_spppsubr.c
Log Message:
Import fixes from HEAD
To generate a diff of this commit:
cvs rdiff -u -r1.179.2.1 -r1.179.2.2 src/sys/net/if_spppsubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_spppsubr.c
diff -u src/sys/net/if_spppsubr.c:1.179.2.1 src/sys/net/if_spppsubr.c:1.179.2.2
--- src/sys/net/if_spppsubr.c:1.179.2.1 Wed Mar 21 10:12:49 2018
+++ src/sys/net/if_spppsubr.c Fri Mar 30 23:56:18 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: if_spppsubr.c,v 1.179.2.1 2018/03/21 10:12:49 pgoyette Exp $ */
+/* $NetBSD: if_spppsubr.c,v 1.179.2.2 2018/03/30 23:56:18 pgoyette Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.179.2.1 2018/03/21 10:12:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.179.2.2 2018/03/30 23:56:18 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -2275,6 +2275,7 @@ sppp_lcp_down(struct sppp *sp)
"%s: Down event (carrier loss)\n",
ifp->if_xname);
}
+ sp->fail_counter[IDX_LCP] = 0;
sp->pp_flags &= ~PP_CALLIN;
if (sp->state[IDX_LCP] != STATE_INITIAL)
lcp.Close(sp);