summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2017-06-07 23:15:49 +0000
committermlarkin <mlarkin@openbsd.org>2017-06-07 23:15:49 +0000
commiteb33a3b725fe82ce85206bea15ce9d4ecd4ff0a9 (patch)
treefe4aaf48d8abad562551f5cc242a1b3f0d9a3270
parentuse the same formatting for vlan as the rest of the page; ok dlg (diff)
downloadwireguard-openbsd-eb33a3b725fe82ce85206bea15ce9d4ecd4ff0a9.tar.xz
wireguard-openbsd-eb33a3b725fe82ce85206bea15ce9d4ecd4ff0a9.zip
vmctl: change default "vmctl console" (cu) baud rate to 115200. Not
strictly needed but matches the previous baudrate diff committed earlier to vmd. ok deraadt, phessler
-rw-r--r--usr.sbin/vmctl/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c
index 5beca174496..632c22150e2 100644
--- a/usr.sbin/vmctl/main.c
+++ b/usr.sbin/vmctl/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.28 2017/05/04 19:41:58 reyk Exp $ */
+/* $OpenBSD: main.c,v 1.29 2017/06/07 23:15:49 mlarkin Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -620,6 +620,6 @@ __dead void
ctl_openconsole(const char *name)
{
closefrom(STDERR_FILENO + 1);
- execl(VMCTL_CU, VMCTL_CU, "-l", name, "-s", "9600", (char *)NULL);
+ execl(VMCTL_CU, VMCTL_CU, "-l", name, "-s", "115200", (char *)NULL);
err(1, "failed to open the console");
}