diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-05-03 21:38:09 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-05-03 21:38:09 +0000 |
commit | f5835878e3c55ad19d189f37161f7146686c41e6 (patch) | |
tree | 484fa3e57c653d96bf90bfdfd02f32b4e4c7e9ab /usr.sbin/pppd/main.c | |
parent | b9d02ebc7e80386eb4d186bd3a2e043c875ddc4a (diff) |
drop packets silently while the link is down, which is a better approximation
to the real networks, ie simulating an open wire w/ tokens falling down
angelos@ ok
Diffstat (limited to 'usr.sbin/pppd/main.c')
-rw-r--r-- | usr.sbin/pppd/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c index 7e1356b8d72..d183e6b0474 100644 --- a/usr.sbin/pppd/main.c +++ b/usr.sbin/pppd/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.25 1998/07/12 04:34:41 angelos Exp $ */ +/* $OpenBSD: main.c,v 1.26 1999/05/03 21:38:08 mickey Exp $ */ /* * main.c - Point-to-Point Protocol main module @@ -23,7 +23,7 @@ #if 0 static char rcsid[] = "Id: main.c,v 1.49 1998/05/05 05:24:17 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.25 1998/07/12 04:34:41 angelos Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.26 1999/05/03 21:38:08 mickey Exp $"; #endif #endif @@ -414,7 +414,7 @@ main(argc, argv) /* * Now we want to bring up the link. */ - demand_discard(); + demand_drop(); syslog(LOG_INFO, "Starting link"); } |