summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2013-03-13 08:51:18 +0000
committerratchov <ratchov@openbsd.org>2013-03-13 08:51:18 +0000
commit8d9cf1e049b1fe9fdc79858476c9ba252434fadf (patch)
tree1e35dba5ad6747aa4885b5540dad5d539c6b6e5c
parentdon't display warnings if accept() returns ECONNABORTED or (diff)
downloadwireguard-openbsd-8d9cf1e049b1fe9fdc79858476c9ba252434fadf.tar.xz
wireguard-openbsd-8d9cf1e049b1fe9fdc79858476c9ba252434fadf.zip
in debug mode, log successful connections, from Jan Stary
-rw-r--r--lib/libsndio/aucat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsndio/aucat.c b/lib/libsndio/aucat.c
index c146616df28..d1ecdc7cf16 100644
--- a/lib/libsndio/aucat.c
+++ b/lib/libsndio/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.56 2012/11/23 07:03:28 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.57 2013/03/13 08:51:18 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -361,6 +361,7 @@ aucat_connect_un(struct aucat *hdl, unsigned int unit)
break;
}
hdl->fd = s;
+ DPRINTF("%s: connected\n", ca.sun_path);
return 1;
}