Point dial changes
This commit is contained in:
parent
baa8a4d09f
commit
b218f2f63a
@ -112,7 +112,7 @@ int call(faddr *addr)
|
|||||||
/*
|
/*
|
||||||
* Don't call points, call their boss instead.
|
* Don't call points, call their boss instead.
|
||||||
*/
|
*/
|
||||||
addr->point = 0;
|
// addr->point = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* First check if node is locked, if not lock it immediatly
|
* First check if node is locked, if not lock it immediatly
|
||||||
|
@ -1320,8 +1320,13 @@ void *scheduler(void)
|
|||||||
default: port[0] = '\0';
|
default: port[0] = '\0';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (calllist[call_entry].addr.point) {
|
||||||
|
sprintf(opts, "%sp%u.f%u.n%u.z%u", port, calllist[call_entry].addr.point,
|
||||||
|
calllist[call_entry].addr.node, calllist[call_entry].addr.net, calllist[call_entry].addr.zone);
|
||||||
|
} else {
|
||||||
sprintf(opts, "%sf%u.n%u.z%u", port, calllist[call_entry].addr.node, calllist[call_entry].addr.net,
|
sprintf(opts, "%sf%u.n%u.z%u", port, calllist[call_entry].addr.node, calllist[call_entry].addr.net,
|
||||||
calllist[call_entry].addr.zone);
|
calllist[call_entry].addr.zone);
|
||||||
|
}
|
||||||
calllist[call_entry].taskpid = launch(cmd, opts, (char *)"mbcico", calllist[call_entry].callmode);
|
calllist[call_entry].taskpid = launch(cmd, opts, (char *)"mbcico", calllist[call_entry].callmode);
|
||||||
if (calllist[call_entry].taskpid)
|
if (calllist[call_entry].taskpid)
|
||||||
calllist[call_entry].calling = TRUE;
|
calllist[call_entry].calling = TRUE;
|
||||||
|
Reference in New Issue
Block a user