Removed phone override fields for IP connections

This commit is contained in:
Michiel Broek 2002-10-31 20:54:20 +00:00
parent f75f5d6770
commit 9283a3f859
3 changed files with 10 additions and 8 deletions

View File

@ -21,6 +21,8 @@ v0.35.05 19-Oct-2002
mbcico: mbcico:
Fixed crash with incoming YooHoo session with bad password. Fixed crash with incoming YooHoo session with bad password.
Still used the phone override fields for hostname override
with internet calls if there was something filled in.
mbout: mbout:
The stat command now also shows what is on hold for a node The stat command now also shows what is on hold for a node

View File

@ -91,9 +91,9 @@ session password.</td></tr>
override here for the normal dial command. If you leave this empty the command override here for the normal dial command. If you leave this empty the command
from the modem setup is used.</td></tr> from the modem setup is used.</td></tr>
<tr><th nowrap align=left valign=top>Phone number 1</th><td>An alternative phone <tr><th nowrap align=left valign=top>Phone number 1</th><td>An alternative phone
number/ip address to dial.</td></tr> number to dial.</td></tr>
<tr><th nowrap align=left valign=top>Phone number 2</th><td>An alternative phone <tr><th nowrap align=left valign=top>Phone number 2</th><td>An alternative phone
number/ip address to dial. Use these above commands if the node has another number to dial. Use these above commands if the node has another
phone number as mentioned in the nodelist.</td></tr> phone number as mentioned in the nodelist.</td></tr>
<tr><th nowrap align=left valign=top>Nodelist flags</th><td>Override for the <tr><th nowrap align=left valign=top>Nodelist flags</th><td>Override for the
nodelist flags, the nodelist flags are completly ignored if you enter something nodelist flags, the nodelist flags are completly ignored if you enter something

View File

@ -158,11 +158,11 @@ int call(faddr *addr)
* There is no fdn or IP address at the commandline. * There is no fdn or IP address at the commandline.
* First check nodesetup for an override in the phone field. * First check nodesetup for an override in the phone field.
*/ */
if (strlen(nodes.phone[0])) { // if (strlen(nodes.phone[0])) {
inetaddr = xstrcpy(nodes.phone[0]); // inetaddr = xstrcpy(nodes.phone[0]);
} else if (strlen(nodes.phone[1])) { // } else if (strlen(nodes.phone[1])) {
inetaddr = xstrcpy(nodes.phone[1]); // inetaddr = xstrcpy(nodes.phone[1]);
} else { // } else {
/* /*
* Try to find the fdn in several places in the nodelist fields. * Try to find the fdn in several places in the nodelist fields.
*/ */
@ -183,7 +183,7 @@ int call(faddr *addr)
inetaddr = xstrcpy(nlent->location); inetaddr = xstrcpy(nlent->location);
Syslog('d', "Got hostname from nodelist location"); Syslog('d', "Got hostname from nodelist location");
} }
} // }
} }
/* /*