summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2008-11-23 12:29:32 +0000
committerratchov <ratchov@openbsd.org>2008-11-23 12:29:32 +0000
commit74f3ea3743d2493b5b2db5b3673b31fb2ed2454b (patch)
tree0c1be71178d3ea9d8e66581bc969cace69f1361e
parentDon't use ifp->if_xname if you can use the sc_dev.dv_xname instead. (diff)
downloadwireguard-openbsd-74f3ea3743d2493b5b2db5b3673b31fb2ed2454b.tar.xz
wireguard-openbsd-74f3ea3743d2493b5b2db5b3673b31fb2ed2454b.zip
Use file input parameter as default device output and file output parameters
as default device input. That's what the man page says
-rw-r--r--usr.bin/aucat/aucat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c
index d71371f7fae..ae7d7bcf90f 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.46 2008/11/20 10:10:01 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.47 2008/11/23 12:29:32 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -414,8 +414,8 @@ main(int argc, char **argv)
argv += optind;
if (!devpath) {
- dipar = ipar;
- dopar = opar;
+ dopar = ipar;
+ dipar = opar;
}
if (!l_flag && SLIST_EMPTY(&ifiles) &&