diff options
author | 2013-06-18 16:34:30 +0200 | |
---|---|---|
committer | 2013-06-18 16:34:30 +0200 | |
commit | d29b23c77abcab871fbca671dddbb6fd256e3f46 (patch) | |
tree | 478783dd262550ea46196025595d12cdb487c01d /smtpd/parser.c | |
parent | Merge branch 'portable' of ssh.poolp.org:/git/opensmtpd into portable (diff) | |
parent | Introduce a mta_limits structure to replace the hardcoded limits on the mta. (diff) | |
download | OpenSMTPD-d29b23c77abcab871fbca671dddbb6fd256e3f46.tar.xz OpenSMTPD-d29b23c77abcab871fbca671dddbb6fd256e3f46.zip |
Merge branch 'master' into portable
Diffstat (limited to 'smtpd/parser.c')
-rw-r--r-- | smtpd/parser.c | 7 |
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} }; |