diff options
author | brian <brian@cvs.openbsd.org> | 1998-02-18 20:33:31 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1998-02-18 20:33:31 +0000 |
commit | af45581582ae5d4f0c58375b982509bd1c4b21f7 (patch) | |
tree | ac17a1cc2336c28480c426fb539d5793fe3792f9 | |
parent | 3991bba3e69f5b036021aa932214c529fef73114 (diff) |
LogWARN rather than LogERROR when we can't create
our diagnostic socket.
-rw-r--r-- | usr.sbin/ppp/server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/server.c b/usr.sbin/ppp/server.c index 90641fb6532..a0245e704ef 100644 --- a/usr.sbin/ppp/server.c +++ b/usr.sbin/ppp/server.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: server.c,v 1.6 1998/01/21 02:13:40 brian Exp $ + * $Id: server.c,v 1.7 1998/02/18 20:33:30 brian Exp $ */ #include <sys/param.h> @@ -59,13 +59,13 @@ ServerLocalOpen(const char *name, mode_t mask) int s; if (VarLocalAuth == LOCAL_DENY) { - LogPrintf(LogERROR, "Local: Can't open socket %s: No password " + LogPrintf(LogWARN, "Local: Can't open socket %s: No password " "in ppp.secret\n", name); return 1; } if (mode & MODE_INTER) { - LogPrintf(LogERROR, "Local: Can't open socket in interactive mode\n"); + LogPrintf(LogWARN, "Local: Can't open socket in interactive mode\n"); return 1; } @@ -117,13 +117,13 @@ ServerTcpOpen(int port) int s; if (VarLocalAuth == LOCAL_DENY) { - LogPrintf(LogERROR, "Tcp: Can't open socket %d: No password " + LogPrintf(LogWARN, "Tcp: Can't open socket %d: No password " "in ppp.secret\n", port); return 6; } if (mode & MODE_INTER) { - LogPrintf(LogERROR, "Tcp: Can't open socket in interactive mode\n"); + LogPrintf(LogWARN, "Tcp: Can't open socket in interactive mode\n"); return 6; } |