X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/c215a4bc817daf7b5631236c3c7b6a509479b034..refs/heads/master:/secnet.c diff --git a/secnet.c b/secnet.c index 8fb8aff..c14a835 100644 --- a/secnet.c +++ b/secnet.c @@ -4,7 +4,7 @@ * * secnet is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version d of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * secnet is distributed in the hope that it will be useful, but @@ -127,6 +127,9 @@ static void parse_options(int argc, char **argv) exit(0); break; + case 'd': + message_level|=M_DEBUG_CONFIG|M_DEBUG_PHASE|M_DEBUG; + /* fall through */ case 'v': message_level|=M_INFO|M_NOTICE|M_WARNING|M_ERR|M_SECURITY| M_FATAL; @@ -136,10 +139,6 @@ static void parse_options(int argc, char **argv) message_level&=(~M_WARNING); break; - case 'd': - message_level|=M_DEBUG_CONFIG|M_DEBUG_PHASE|M_DEBUG; - break; - case 'f': message_level=M_FATAL; break;