freetdm - ISDN:Fix for invalidating logical span id = 0 for nfas

This commit is contained in:
David Yat Sin 2012-09-03 22:26:03 -04:00 committed by Ken Rice
parent a2bb0dea4e
commit 33e7cb060d
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ static ftdm_status_t parse_spanmap(const char *_spanmap, ftdm_span_t *span)
}
}
if (!name || logical_span_id < 0) {
if (!name) {
ftdm_log(FTDM_LOG_ERROR, "Invalid spanmap syntax %s\n", _spanmap);
ret = FTDM_FAIL;
goto done;