diff options
author | 2008-06-12 03:52:48 +0000 | |
---|---|---|
committer | 2008-06-12 03:52:48 +0000 | |
commit | d0bd83bfdf1d07c6cdbe4bc0b417f5b38c00466e (patch) | |
tree | 20aca498e05433bbdab5c3c4fdb8818bed673bc4 | |
parent | Enable ~ escapes for multiplex slave sessions; give each channel (diff) | |
download | wireguard-openbsd-d0bd83bfdf1d07c6cdbe4bc0b417f5b38c00466e.tar.xz wireguard-openbsd-d0bd83bfdf1d07c6cdbe4bc0b417f5b38c00466e.zip |
Initialize the tty in the same way for nmea and slip.
-rw-r--r-- | sbin/ldattach/ldattach.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/ldattach/ldattach.c b/sbin/ldattach/ldattach.c index 79d1ff747fa..69fa88fe105 100644 --- a/sbin/ldattach/ldattach.c +++ b/sbin/ldattach/ldattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldattach.c,v 1.10 2008/06/11 23:12:15 mbalmer Exp $ */ +/* $OpenBSD: ldattach.c,v 1.11 2008/06/12 03:52:48 mbalmer Exp $ */ /* * Copyright (c) 2007, 2008 Marc Balmer <mbalmer@openbsd.org> @@ -274,11 +274,7 @@ main(int argc, char *argv[]) warnx("TIOCSTSTAMP"); goto bail_out; } - /* tty.c_cc[VMIN] = tty.c_cc[VTIME] = 0; */ - tty.c_iflag = 0; - tty.c_lflag = 0; - tty.c_oflag = 0; - break; + /* FALLTHROUGH */ case SLIPDISC: tty.c_iflag = 0; tty.c_lflag = 0; |