On Wed, Jun 20 2018 12:19:43 +0300, Lauri Tirkkonen wrote: > "from local" rules are missing a space when printed out with -T rules. > > diff --git a/usr.sbin/smtpd/to.c b/usr.sbin/smtpd/to.c > index e1d399d74f2..27d5321408f 100644 > --- a/usr.sbin/smtpd/to.c > +++ b/usr.sbin/smtpd/to.c > @@ -461,7 +461,7 @@ rule_to_text(struct rule *r) > if (strcmp(r->table_from, "<anyhost>") == 0) > (void)strlcat(buf, "from any ", sizeof buf); > else if (strcmp(r->table_from, "<localhost>") == 0) > - (void)strlcat(buf, "from local", sizeof buf); > + (void)strlcat(buf, "from local ", sizeof buf); > else { > (void)strlcat(buf, "from src ", sizeof buf); > (void)strlcat(buf, r->table_from, sizeof buf);
ping? -- Lauri Tirkkonen | lotheac @ IRCnet