summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-07-01 23:41:42 +0000
committernicm <nicm@openbsd.org>2010-07-01 23:41:42 +0000
commit57aa710badfb0abbfd2fd08376197936219b9d44 (patch)
tree687a63fa9f697a6c2b697441300968f7480ab60c
parentRepost T510 video using the emulator. (diff)
downloadwireguard-openbsd-57aa710badfb0abbfd2fd08376197936219b9d44.tar.xz
wireguard-openbsd-57aa710badfb0abbfd2fd08376197936219b9d44.zip
Don't overwrite the device name with the fake cu%d host.
-rw-r--r--usr.bin/tip/remote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tip/remote.c b/usr.bin/tip/remote.c
index 06d7fc41d18..e75c550684c 100644
--- a/usr.bin/tip/remote.c
+++ b/usr.bin/tip/remote.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remote.c,v 1.27 2010/07/01 21:28:01 nicm Exp $ */
+/* $OpenBSD: remote.c,v 1.28 2010/07/01 23:41:42 nicm Exp $ */
/* $NetBSD: remote.c,v 1.5 1997/04/20 00:02:45 mellon Exp $ */
/*
@@ -64,7 +64,6 @@ getremcap(char *host)
if ((stat = cgetent(&bp, db_array, host)) < 0) {
if (vgetstr(DEVICE) != NULL ||
(host[0] == '/' && access(host, R_OK | W_OK) == 0)) {
- vsetstr(DEVICE, host);
vsetstr(HOST, host);
if (!vgetnum(BAUDRATE))
vsetnum(BAUDRATE, DEFBR);