From 5fc6c78697dfa0636ef5c0b0ba9a6a78b11c7b90 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 3 Sep 2009 17:33:05 -0400 Subject: [PATCH] doveconf: -f protocol is now an alias for -f service. --HG-- branch : HEAD --- src/config/doveconf.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.3