diff options
author | brian <brian@FreeBSD.org> | 1998-06-12 17:45:10 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-12 17:45:10 +0000 |
commit | 0cb00afb55f57f563f31446c912021e60f8b11ce (patch) | |
tree | 48298fba1b71a67ec155ca148df8d9bf63054235 /usr.sbin/ppp/bundle.h | |
parent | 669024d8256e3492a6a1758a953d26e68c222f6c (diff) | |
download | FreeBSD-src-0cb00afb55f57f563f31446c912021e60f8b11ce.zip FreeBSD-src-0cb00afb55f57f563f31446c912021e60f8b11ce.tar.gz |
o Maintain a link-type mask for open datalinks as well as
for all datalinks in a bundle. Ppp now deals correctly
with link types that are changed while open
o When changing the type of the last AUTO link, only clear
the interface if we're not in PHASE_NETWORK. This allows
us to switch to -ddial mode while we have a connection
without suddenly unexpectedly throttling ourselves by
clearing the interface configuration.
Problem area noted by: Aaron Jeremias Luz <aaron@csh.rit.edu>
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r-- | usr.sbin/ppp/bundle.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h index d91237b..6a8042c 100644 --- a/usr.sbin/ppp/bundle.h +++ b/usr.sbin/ppp/bundle.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bundle.h,v 1.5 1998/05/29 18:33:08 brian Exp $ + * $Id: bundle.h,v 1.6 1998/06/06 20:50:56 brian Exp $ */ #define PHASE_DEAD 0 /* Link is dead */ @@ -70,7 +70,11 @@ struct bundle { int routing_seq; /* The current routing sequence number */ u_int phase; /* Curent phase */ - int phys_type; /* Union of all physical::type's */ + + struct { + int all; /* Union of all physical::type's */ + int open; /* Union of all open physical::type's */ + } phys_type; unsigned CleaningUp : 1; /* Going to exit.... */ |