Revision: 1944
http://undernet-ircu.svn.sourceforge.net/undernet-ircu/?rev=1944&view=rev
Author: klmitch
Date: 2010-03-04 13:52:35 +0000 (Thu, 04 Mar 2010)
Log Message:
-----------
Set TOS to the value of FEAT_TOS_SERVER, not to FEAT_TOS_SERVER...
Modified Paths:
--------------
ircu2/branches/u2_10_12_branch/ChangeLog
ircu2/branches/u2_10_12_branch/ircd/s_bsd.c
Modified: ircu2/branches/u2_10_12_branch/ChangeLog
===================================================================
--- ircu2/branches/u2_10_12_branch/ChangeLog 2010-02-02 23:34:45 UTC (rev
1943)
+++ ircu2/branches/u2_10_12_branch/ChangeLog 2010-03-04 13:52:35 UTC (rev
1944)
@@ -1,3 +1,8 @@
+2010-03-04 Kevin L. Mitchell <[email protected]>
+
+ * ircd/s_bsd.c: use feature_int() to get the integer value of the
+ feature...and don't try to set the TOS to its index!
+
2010-02-02 Michael Poole <[email protected]>
* include/patchlevel.h (PATCHLEVEL): Bump to (u2.10.12.)13-rc2.
Modified: ircu2/branches/u2_10_12_branch/ircd/s_bsd.c
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/s_bsd.c 2010-02-02 23:34:45 UTC (rev
1943)
+++ ircu2/branches/u2_10_12_branch/ircd/s_bsd.c 2010-03-04 13:52:35 UTC (rev
1944)
@@ -238,7 +238,7 @@
/*
* Set the TOS bits - this is nonfatal if it doesn't stick.
*/
- if (!os_set_tos(cli_fd(cptr), FEAT_TOS_SERVER)) {
+ if (!os_set_tos(cli_fd(cptr), feature_int(FEAT_TOS_SERVER))) {
report_error(TOS_ERROR_MSG, cli_name(cptr), errno);
}
if ((result = os_connect_nonb(cli_fd(cptr), &aconf->address)) == IO_FAILURE)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches