diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2018-01-02 21:48:33 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2018-01-02 21:48:33 +0000 |
commit | cc48fb988e2691cc4c74028ac85a8e2080148230 (patch) | |
tree | c1c980fcbf43f3bc2e61449a8eec3e10f45fdef1 /mail/sendmail/files/patch-readcf.c | |
parent | Upgrade to v.218. (diff) |
- fix regression introduced by r457706
PR: 224452
- add option BLACKLISTD
https://reviews.freebsd.org/D13475
Notes
Notes:
svn path=/head/; revision=457930
Diffstat (limited to 'mail/sendmail/files/patch-readcf.c')
-rw-r--r-- | mail/sendmail/files/patch-readcf.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/sendmail/files/patch-readcf.c b/mail/sendmail/files/patch-readcf.c new file mode 100644 index 000000000000..a6aad5c00495 --- /dev/null +++ b/mail/sendmail/files/patch-readcf.c @@ -0,0 +1,26 @@ +--- sendmail/readcf.c.orig 2015-06-17 16:51:58 UTC ++++ sendmail/readcf.c +@@ -2910,6 +2910,10 @@ static struct optioninfo + #endif + #define O_USECOMPRESSEDIPV6ADDRESSES 0xec + { "UseCompressedIPv6Addresses", O_USECOMPRESSEDIPV6ADDRESSES, OI_NONE }, ++#if USE_BLACKLIST ++# define O_BLACKLIST 0xf2 ++ { "UseBlacklist", O_BLACKLIST, OI_NONE }, ++#endif + + { NULL, '\0', OI_NONE } + }; +@@ -4540,6 +4544,12 @@ setoption(opt, val, safe, sticky, e) + UseCompressedIPv6Addresses = atobool(val); + break; + ++#if USE_BLACKLIST ++ case O_BLACKLIST: ++ UseBlacklist = atobool(val); ++ break; ++#endif ++ + default: + if (tTd(37, 1)) + { |