Changed IP capabilities showing

This commit is contained in:
Michiel Broek
2004-07-22 20:30:58 +00:00
parent 2650d93014
commit 22f65f8e92
9 changed files with 34 additions and 27 deletions

View File

@@ -1758,7 +1758,7 @@ int binkp_banner(void)
if (!rc)
rc = binkp_send_command(MM_NUL,"LOC %s", CFG.location);
if (!rc)
rc = binkp_send_command(MM_NUL,"NDL %s", CFG.Flags);
rc = binkp_send_command(MM_NUL,"NDL %s", CFG.IP_Flags);
t = time(NULL);
if (!rc)
rc = binkp_send_command(MM_NUL,"TIME %s", rfcdate(t));
@@ -1768,8 +1768,8 @@ int binkp_banner(void)
else
rc = binkp_send_command(MM_NUL,"VER mbcico/%s/%s-%s %s/%s", VERSION, OsName(), OsCPU(), PRTCLNAME, PRTCLVER);
}
if (strlen(CFG.Phone) && !rc)
rc = binkp_send_command(MM_NUL,"PHN %s", CFG.Phone);
if (strlen(CFG.IP_Phone) && !rc)
rc = binkp_send_command(MM_NUL,"PHN %s", CFG.IP_Phone);
if (strlen(CFG.comment) && !rc)
rc = binkp_send_command(MM_NUL,"OPM %s", CFG.comment);

View File

@@ -219,8 +219,8 @@ char *mkemsidat(int caller)
p=xstrcat(p,(char *)"][");
p=xstrcat(p,phone?emsiencode(phone):(char *)"-Unpublished-");
p=xstrcat(p,(char *)"][");
if (CFG.Speed)
sprintf(cbuf,"%ld",CFG.Speed);
if ((CFG.IP_Speed) && (emsi_local_protos & PROT_TCP))
sprintf(cbuf,"%ld",CFG.IP_Speed);
else
strcpy(cbuf,"9600");
p=xstrcat(p,cbuf);

View File

@@ -276,8 +276,8 @@ int main(int argc, char *argv[])
inbound = xstrcpy(CFG.inbound);
uxoutbound = xstrcpy(CFG.uxpath);
name = xstrcpy(CFG.bbs_name);
phone = xstrcpy(CFG.Phone);
flags = xstrcpy(CFG.Flags);
phone = xstrcpy(CFG.IP_Phone);
flags = xstrcpy(CFG.IP_Flags);
while (argv[optind]) {