View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003003 | unreal | ircd | public | 2006-07-20 08:55 | 2006-07-21 05:42 |
Reporter | DelGurth | Assigned To | syzop | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i386 | OS | Linux, FreeBSD | OS Version | 2.4.32,5.1 |
Product Version | 3.2.4 | ||||
Fixed in Version | 3.2.6 | ||||
Summary | 0003003: tld::options::ssl ignored? | ||||
Description | In unreal 3.2.3 I could add options { ssl; } to my tld block to show a different motd for the users who are using SSL. In 3.2.4, and now also 3.2.5, that no longer works. | ||||
Steps To Reproduce | Use this in your config. It will always show the SSL version of the motd. Reverse the tld blocks and you will always get the non SSL version of the motd. tld { mask *@*; motd "ircd.motd"; rules "ircd.rules"; }; tld { mask *@*; motd "ircd.motd.ssl"; rules "ircd.rules"; options { ssl; }; }; | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
The error is in src/s_conf.c method "_conf_tld(ConfigFile *conf, ConfigEntry *ce)" for (cepp = cep->ce_entries; cepp; cepp = cepp->ce_next) { if (!strcmp(cep->ce_varname, "ssl")) ca->options |= TLD_SSL; else if (!strcmp(cep->ce_varname, "remote")) ca->options |= TLD_REMOTE; } Should be changed into (if I understand C good enough, I'm a java programmer;) for (cepp = cep->ce_entries; cepp; cepp = cepp->ce_next) { if (!strcmp(cepp->ce_varname, "ssl")) ca->options |= TLD_SSL; else if (!strcmp(cepp->ce_varname, "remote")) ca->options |= TLD_REMOTE; } It is broken somewhere between unreal 3.2.2 and 3.2.3 |
|
Fixed in .547: - Fixed tld::options:: not working properly, reported by DelGurth (0003003). |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-07-20 08:55 | DelGurth | New Issue | |
2006-07-20 09:35 | DelGurth | Note Added: 0012077 | |
2006-07-20 20:37 | DelGurth | Note Edited: 0012077 | |
2006-07-21 05:42 | syzop | Status | new => resolved |
2006-07-21 05:42 | syzop | Fixed in Version | => 3.2.6 |
2006-07-21 05:42 | syzop | Resolution | open => fixed |
2006-07-21 05:42 | syzop | Assigned To | => syzop |
2006-07-21 05:42 | syzop | Note Added: 0012078 |