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

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