Some small fixes

This commit is contained in:
Michiel Broek 2004-01-08 20:02:41 +00:00
parent fd3da363f0
commit a53c184f9e
5 changed files with 16 additions and 11 deletions

View File

@ -30,7 +30,8 @@ v0.39.5 24-Dec-2003
Fixed a segfault when a session failed. Fixed a segfault when a session failed.
New binkp/1.1 driver, not compiled by default yet. New binkp/1.1 driver, not compiled by default yet.
- Changed testing EOB to prevent out-of-sync batches. - Changed testing EOB to prevent out-of-sync batches.
- Changed EOB handling some more.
mbout: mbout:
Poll, remove poll and request failed to points which had no Poll, remove poll and request failed to points which had no
point directory in the outbound, now the directory is created. point directory in the outbound, now the directory is created.
@ -44,6 +45,10 @@ v0.39.5 24-Dec-2003
created by another OS. created by another OS.
Added setting in menu 7.x.3.18 to disable the use of binkp/1.1 Added setting in menu 7.x.3.18 to disable the use of binkp/1.1
protocol per node. protocol per node.
Corrected a spelling error (thanks Vince).
mbtask:
Changed slow ping logmessages from 5 to 10 seconds.
script: script:
Fixed NetBSD init script Fixed NetBSD init script

View File

@ -14,7 +14,7 @@
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<div align=right><h5>Last update 24-Aug-2003</h5></div> <div align=right><h5>Last update 08-Jan-2004</h5></div>
<div align=center><H1>MBSE BBS Setup - Fidonet nodes.</H1></div> <div align=center><H1>MBSE BBS Setup - Fidonet nodes.</H1></div>
<P> <P>
@ -200,13 +200,13 @@ this node.</td></tr>
on command (billing is not yet available).</td></tr> on command (billing is not yet available).</td></tr>
<tr><th nowrap align=left valign=top>Credit</th><td>The credit this node has in <tr><th nowrap align=left valign=top>Credit</th><td>The credit this node has in
units.</td></tr> units.</td></tr>
<tr><th nowrap align=left valign=top>Debet</th><td>The debet we have with this <tr><th nowrap align=left valign=top>Debit</th><td>The debit we have with this
node (informational).</td></tr> node (informational).</td></tr>
<tr><th nowrap align=left valign=top>Add</th><td>Add (or substract) factor to <tr><th nowrap align=left valign=top>Add</th><td>Add (or substract) factor to
the bill.</td></tr> the bill.</td></tr>
<tr><th nowrap align=left valign=top>Warn level</th><td>The debet level when to <tr><th nowrap align=left valign=top>Warn level</th><td>The debit level when to
write a warning mesage.</td></tr> write a warning mesage.</td></tr>
<tr><th nowrap align=left valign=top>Stop level</th><td>The debet level when to <tr><th nowrap align=left valign=top>Stop level</th><td>The debit level when to
stop sending files.</td></tr> stop sending files.</td></tr>
</table> </table>
<P> <P>

View File

@ -1421,7 +1421,7 @@ TrType binkp_transmitter(void)
bp.RxState = RxWaitF; bp.RxState = RxWaitF;
Syslog('+', "Binkp: start batch %d", bp.batchnr + 1); Syslog('+', "Binkp: start batch %d", bp.batchnr + 1);
binkp_clear_filelist(); binkp_clear_filelist();
return Continue; return Ok; /* Continue is not good here, troubles with binkd on slow links. */
} }
} }

View File

@ -449,7 +449,7 @@ void E_Files(void)
mvprintw( 8,46, "12. Billing (CSO)"); mvprintw( 8,46, "12. Billing (CSO)");
mvprintw( 9,46, "13. Bill direct"); mvprintw( 9,46, "13. Bill direct");
mvprintw(10,46, "14. Credit"); mvprintw(10,46, "14. Credit");
mvprintw(11,46, "15. Debet"); mvprintw(11,46, "15. Debit");
mvprintw(12,46, "16. Add %"); mvprintw(12,46, "16. Add %");
mvprintw(13,46, "17. Warn level"); mvprintw(13,46, "17. Warn level");
mvprintw(14,46, "18. Stop level"); mvprintw(14,46, "18. Stop level");
@ -491,7 +491,7 @@ void E_Files(void)
case 12:E_BOOL( 8,66, nodes.Billing, "Send ^bills^ to this node, Costsharing is active") case 12:E_BOOL( 8,66, nodes.Billing, "Send ^bills^ to this node, Costsharing is active")
case 13:E_BOOL( 9,66, nodes.BillDirect, "Send bills ^direct^ after file processing") case 13:E_BOOL( 9,66, nodes.BillDirect, "Send bills ^direct^ after file processing")
case 14:E_INT( 10,66, nodes.Credit, "The ^credit^ this node has for costsharing") case 14:E_INT( 10,66, nodes.Credit, "The ^credit^ this node has for costsharing")
case 15:E_INT( 11,66, nodes.Debet, "The ^debet^ in cents we have credit from this node") case 15:E_INT( 11,66, nodes.Debet, "The ^debit^ in cents we have credit from this node")
case 16:E_INT( 12,66, nodes.AddPerc, "The + or - ^promille^ factor for this node") case 16:E_INT( 12,66, nodes.AddPerc, "The + or - ^promille^ factor for this node")
case 17:E_INT( 13,66, nodes.WarnLevel, "Credit level in cents to ^Warn^ node for low credit") case 17:E_INT( 13,66, nodes.WarnLevel, "Credit level in cents to ^Warn^ node for low credit")
case 18:E_INT( 14,66, nodes.StopLevel, "Credit level in cents to ^Stop^ sending files") case 18:E_INT( 14,66, nodes.StopLevel, "Credit level in cents to ^Stop^ sending files")
@ -1538,7 +1538,7 @@ int node_doc(FILE *fp, FILE *toc, int page)
if (nodes.Billing) { if (nodes.Billing) {
fprintf(fp, " Credit units %-8ld Warnlevel %ld\n", nodes.Credit, nodes.WarnLevel); fprintf(fp, " Credit units %-8ld Warnlevel %ld\n", nodes.Credit, nodes.WarnLevel);
fprintf(fp, " Debet units %-8ld Stoplevel %ld\n", nodes.Debet, nodes.StopLevel); fprintf(fp, " Debit units %-8ld Stoplevel %ld\n", nodes.Debet, nodes.StopLevel);
fprintf(fp, " Add promille %ld\n\n", nodes.AddPerc); fprintf(fp, " Add promille %ld\n\n", nodes.AddPerc);
} }
fprintf(fp, " File groups:\n "); fprintf(fp, " File groups:\n ");

View File

@ -4,7 +4,7 @@
* Purpose ...............: mbtask - ping functions * Purpose ...............: mbtask - ping functions
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2003 * Copyright (C) 1997-2004
* *
* Michiel Broek FIDO: 2:280/2802 * Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10 * Beekmansbos 10
@ -405,7 +405,7 @@ void *ping_thread(void)
* Reply received. * Reply received.
*/ */
rc = time(NULL) - pingsend; rc = time(NULL) - pingsend;
if (rc > 5) if (rc > 10)
Syslog('+', "Ping: slow reply after %d seconds", rc); Syslog('+', "Ping: slow reply after %d seconds", rc);
pingresult[pingnr] = TRUE; pingresult[pingnr] = TRUE;
now = time(NULL) + 20 - rc; now = time(NULL) + 20 - rc;