summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-08-10 02:09:35 +0000
committerguenther <guenther@openbsd.org>2014-08-10 02:09:35 +0000
commit560889b31bc2db03b39828deb6ede20c3ad34fdd (patch)
tree3332723bea9e0378aef9dcebd260cf4e7561f2bb
parentAdd F_DUPFD_CLOEXEC handling (diff)
downloadwireguard-openbsd-560889b31bc2db03b39828deb6ede20c3ad34fdd.tar.xz
wireguard-openbsd-560889b31bc2db03b39828deb6ede20c3ad34fdd.zip
msts(4) appears to support TIOCSTSTAMP
From Maurice Janssen (maurice (at) z74.net)
-rw-r--r--sbin/ldattach/ldattach.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ldattach/ldattach.c b/sbin/ldattach/ldattach.c
index 8cc4d82f66b..7d10f7066b3 100644
--- a/sbin/ldattach/ldattach.c
+++ b/sbin/ldattach/ldattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldattach.c,v 1.14 2009/10/31 02:53:11 ckuethe Exp $ */
+/* $OpenBSD: ldattach.c,v 1.15 2014/08/10 02:09:35 guenther Exp $ */
/*
* Copyright (c) 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -272,6 +272,7 @@ main(int argc, char *argv[])
/* line discpline specific setup */
switch (ldisc) {
case NMEADISC:
+ case MSTSDISC:
case ENDRUNDISC:
if (ioctl(fd, TIOCSTSTAMP, &tstamps) < 0) {
warnx("TIOCSTSTAMP");