From: Timo Sirainen Date: Thu, 3 Sep 2009 21:33:05 +0000 (-0400) Subject: doveconf: -f protocol is now an alias for -f service. X-Git-Tag: 2.0.alpha1~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fc6c78697dfa0636ef5c0b0ba9a6a78b11c7b90;p=thirdparty%2Fdovecot%2Fcore.git doveconf: -f protocol is now an alias for -f service. --HG-- branch : HEAD --- diff --git a/src/config/doveconf.c b/src/config/doveconf.c index f3804bfd54..fd020a9e98 100644 --- a/src/config/doveconf.c +++ b/src/config/doveconf.c @@ -205,6 +205,8 @@ static void filter_parse_arg(struct config_filter *filter, const char *arg) { if (strncmp(arg, "service=", 8) == 0) filter->service = arg + 8; + else if (strncmp(arg, "protocol=", 9) == 0) + filter->service = arg + 9; else if (strncmp(arg, "lip=", 4) == 0) { if (net_parse_range(arg + 4, &filter->local_net, &filter->local_bits) < 0)