diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-11-04 18:47:18 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-11-04 18:47:18 +0000 |
commit | a8f46512c8cbd32e8bd85ac3982e5cf99d93013a (patch) | |
tree | 990f1275d572b922e1421baea8299ba2f4a73407 /usr.sbin/relayd/parse.y | |
parent | a7ec372e7ba49afa128e20ed9aeb1152f5547f0f (diff) |
Not using all defined protocols is not a hard error. Just print a warning
but start anyway. OK reyk@
Diffstat (limited to 'usr.sbin/relayd/parse.y')
-rw-r--r-- | usr.sbin/relayd/parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y index 8f1b36beb0e..d019a4449ee 100644 --- a/usr.sbin/relayd/parse.y +++ b/usr.sbin/relayd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.75 2007/10/22 16:53:30 pyr Exp $ */ +/* $OpenBSD: parse.y,v 1.76 2007/11/04 18:47:17 claudio Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -1704,7 +1704,6 @@ parse_config(const char *filename, int opts) TAILQ_FOREACH(proto, &conf->protos, entry) { if (!(proto->flags & F_USED)) { log_warnx("unused protocol: %s", proto->name); - errors++; } } |