summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>1998-01-30 19:49:54 +0000
committerJohn Hay <jhay@FreeBSD.org>1998-01-30 19:49:54 +0000
commit40f001c97d349e03a7e9f6aa7d74b1521e6536cd (patch)
treeb3dfec599cb98e904fb38d9056c3d9105d8b94d0
parentb1408ba741123d0ca324c1c85941a64218f34e62 (diff)
Notes
-rw-r--r--sys/dev/sr/if_sr.c7
-rw-r--r--sys/dev/sr/if_sr_isa.c7
-rw-r--r--sys/i386/isa/if_sr.c7
3 files changed, 12 insertions, 9 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index c27467a3a4e8..76113b8b71cf 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_sr.c,v 1.9 1997/09/02 01:18:16 bde Exp $
+ * $Id: if_sr.c,v 1.10 1998/01/08 23:41:02 eivind Exp $
*/
/*
@@ -1294,6 +1294,7 @@ srioctl(struct ifnet *ifp, int cmd, caddr_t data)
case N2_USE_PPP:
default:
sppp_detach(ifp);
+ sc->ifsppp.pp_flags &= ~PP_KEEPALIVE;
}
sc->attached = 0;
@@ -1307,7 +1308,7 @@ srioctl(struct ifnet *ifp, int cmd, caddr_t data)
#endif
case N2_USE_PPP:
default:
- sc->ifsppp.pp_flags = PP_KEEPALIVE;
+ sc->ifsppp.pp_flags |= PP_KEEPALIVE;
sppp_attach(&sc->ifsppp.pp_if);
/*
@@ -1498,7 +1499,7 @@ sr_up(struct sr_softc *sc)
#endif
case N2_USE_PPP:
default:
- sc->ifsppp.pp_flags = PP_KEEPALIVE;
+ sc->ifsppp.pp_flags |= PP_KEEPALIVE;
sppp_attach(&sc->ifsppp.pp_if);
/*
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index c27467a3a4e8..76113b8b71cf 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_sr.c,v 1.9 1997/09/02 01:18:16 bde Exp $
+ * $Id: if_sr.c,v 1.10 1998/01/08 23:41:02 eivind Exp $
*/
/*
@@ -1294,6 +1294,7 @@ srioctl(struct ifnet *ifp, int cmd, caddr_t data)
case N2_USE_PPP:
default:
sppp_detach(ifp);
+ sc->ifsppp.pp_flags &= ~PP_KEEPALIVE;
}
sc->attached = 0;
@@ -1307,7 +1308,7 @@ srioctl(struct ifnet *ifp, int cmd, caddr_t data)
#endif
case N2_USE_PPP:
default:
- sc->ifsppp.pp_flags = PP_KEEPALIVE;
+ sc->ifsppp.pp_flags |= PP_KEEPALIVE;
sppp_attach(&sc->ifsppp.pp_if);
/*
@@ -1498,7 +1499,7 @@ sr_up(struct sr_softc *sc)
#endif
case N2_USE_PPP:
default:
- sc->ifsppp.pp_flags = PP_KEEPALIVE;
+ sc->ifsppp.pp_flags |= PP_KEEPALIVE;
sppp_attach(&sc->ifsppp.pp_if);
/*
diff --git a/sys/i386/isa/if_sr.c b/sys/i386/isa/if_sr.c
index c27467a3a4e8..76113b8b71cf 100644
--- a/sys/i386/isa/if_sr.c
+++ b/sys/i386/isa/if_sr.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_sr.c,v 1.9 1997/09/02 01:18:16 bde Exp $
+ * $Id: if_sr.c,v 1.10 1998/01/08 23:41:02 eivind Exp $
*/
/*
@@ -1294,6 +1294,7 @@ srioctl(struct ifnet *ifp, int cmd, caddr_t data)
case N2_USE_PPP:
default:
sppp_detach(ifp);
+ sc->ifsppp.pp_flags &= ~PP_KEEPALIVE;
}
sc->attached = 0;
@@ -1307,7 +1308,7 @@ srioctl(struct ifnet *ifp, int cmd, caddr_t data)
#endif
case N2_USE_PPP:
default:
- sc->ifsppp.pp_flags = PP_KEEPALIVE;
+ sc->ifsppp.pp_flags |= PP_KEEPALIVE;
sppp_attach(&sc->ifsppp.pp_if);
/*
@@ -1498,7 +1499,7 @@ sr_up(struct sr_softc *sc)
#endif
case N2_USE_PPP:
default:
- sc->ifsppp.pp_flags = PP_KEEPALIVE;
+ sc->ifsppp.pp_flags |= PP_KEEPALIVE;
sppp_attach(&sc->ifsppp.pp_if);
/*