From: chas w. <ch...@us...> - 2004-09-25 11:32:41
|
Update of /cvsroot/linux-atm/linux-atm/src/sigd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27616 Modified Files: Tag: V2_5_0 proto.c Log Message: initialize new_qos and owner Index: proto.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/sigd/proto.c,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** proto.c 9 Oct 2001 22:33:07 -0000 1.2 --- proto.c 25 Sep 2004 11:32:32 -0000 1.2.2.1 *************** *** 78,81 **** --- 78,85 ---- memset(&sock->pvc,0,sizeof(sock->pvc)); sock->qos.txtp.traffic_class = sock->qos.rxtp.traffic_class = ATM_UBR; + #if defined(Q2963_1) || defined(DYNAMIC_UNI) + memset(&sock->new_qos, 0, sizeof(sock->new_qos)); + sock->owner = 0; + #endif sock->id = id; memset(&sock->local,0,sizeof(sock->local)); |