Added auto workaround for Irex binkp bug

This commit is contained in:
Michiel Broek
2005-04-07 20:07:10 +00:00
parent 0ac0f75db8
commit fc985db88c
3 changed files with 6 additions and 5 deletions

View File

@@ -1707,7 +1707,7 @@ int binkp_banner(void)
if (!rc)
rc = binkp_send_command(MM_NUL,"TIME %s", rfcdate(t));
if (!rc) {
if (nodes.NoBinkp11)
if (nodes.NoBinkp11 || bp.buggyIrex)
rc = binkp_send_command(MM_NUL,"VER mbcico/%s/%s-%s %s/%s", VERSION, OsName(), OsCPU(), PRTCLNAME, PRTCLOLD);
else
rc = binkp_send_command(MM_NUL,"VER mbcico/%s/%s-%s %s/%s", VERSION, OsName(), OsCPU(), PRTCLNAME, PRTCLVER);
@@ -1844,8 +1844,8 @@ void parse_m_nul(char *msg)
Syslog('b', "PLZflag is %s and received PLZ option", opstate[bp.PLZflag]);
}
#endif
} else {
Syslog('b', "Binkp: opt not supported");
// } else {
// Syslog('b', "Binkp: opt not supported");
}
}