aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/parser.c
diff options
context:
space:
mode:
authorEric Faurot <eric@faurot.net>2013-06-18 16:34:30 +0200
committerEric Faurot <eric@faurot.net>2013-06-18 16:34:30 +0200
commitd29b23c77abcab871fbca671dddbb6fd256e3f46 (patch)
tree478783dd262550ea46196025595d12cdb487c01d /smtpd/parser.c
parentMerge branch 'portable' of ssh.poolp.org:/git/opensmtpd into portable (diff)
parentIntroduce a mta_limits structure to replace the hardcoded limits on the mta. (diff)
downloadOpenSMTPD-d29b23c77abcab871fbca671dddbb6fd256e3f46.tar.xz
OpenSMTPD-d29b23c77abcab871fbca671dddbb6fd256e3f46.zip
Merge branch 'master' into portable
Diffstat (limited to 'smtpd/parser.c')
-rw-r--r--smtpd/parser.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/smtpd/parser.c b/smtpd/parser.c
index 4bc08897..7a36c437 100644
--- a/smtpd/parser.c
+++ b/smtpd/parser.c
@@ -53,6 +53,7 @@ static const struct token t_main[];
static const struct token t_pause[];
static const struct token t_remove[];
static const struct token t_resume[];
+static const struct token t_resume_route[];
static const struct token t_schedule[];
static const struct token t_show[];
static const struct token t_show_envelope[];
@@ -122,6 +123,12 @@ static const struct token t_resume[] = {
{KEYWORD, "mda", RESUME_MDA, NULL},
{KEYWORD, "mta", RESUME_MTA, NULL},
{KEYWORD, "smtp", RESUME_SMTP, NULL},
+ {KEYWORD, "route", RESUME_ROUTE, t_resume_route},
+ {ENDTOKEN, "", NONE, NULL}
+};
+
+static const struct token t_resume_route[] = {
+ {VARIABLE, "id", RESUME_ROUTE, NULL},
{ENDTOKEN, "", NONE, NULL}
};