summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/defs.c')
-rw-r--r--usr.sbin/ppp/defs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 08937e68ab2..f73dec96f9d 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: defs.c,v 1.4 1997/12/24 09:30:28 brian Exp $
+ * $Id: defs.c,v 1.5 1997/12/27 13:45:18 brian Exp $
*/
#include <sys/param.h>
@@ -100,7 +100,7 @@ GetShortHost()
}
void
-DropClient()
+DropClient(int verbose)
{
FILE *oVarTerm;
@@ -111,6 +111,7 @@ DropClient()
fclose(oVarTerm);
close(netfd);
netfd = -1;
- LogPrintf(LogPHASE, "Client connection closed.\n");
+ if (verbose)
+ LogPrintf(LogPHASE, "Client connection dropped.\n");
}
}