Make sure NSF is initialized properly

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@123 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2004-06-26 04:42:20 +00:00
parent 18958fa7e8
commit b93317f38b

1
pri.c
View File

@ -74,6 +74,7 @@ static struct pri *__pri_new(int fd, int node, int switchtype, struct pri *maste
p->cref = 1; p->cref = 1;
p->sapi = Q921_SAPI_CALL_CTRL; p->sapi = Q921_SAPI_CALL_CTRL;
p->tei = 0; p->tei = 0;
p->nsf = PRI_NSF_NONE;
p->protodisc = Q931_PROTOCOL_DISCRIMINATOR; p->protodisc = Q931_PROTOCOL_DISCRIMINATOR;
p->master = master; p->master = master;
p->callpool = &p->localpool; p->callpool = &p->localpool;