Update of /cvsroot/linuxisns/isnsNT/isnsclient/src
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20501/src
Modified Files:
isns.c portal.c
Log Message:
fix src attr for adding dd to dds
Index: isns.c
===================================================================
RCS file: /cvsroot/linuxisns/isnsNT/isnsclient/src/isns.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** isns.c 4 Jan 2007 18:58:36 -0000 1.7
--- isns.c 12 Jan 2007 21:12:33 -0000 1.8
***************
*** 832,835 ****
--- 832,838 ----
/* SRC */
+ if (-1 == GetSrc (&cmd, 0))
+ return;
+
ISNSAppendAttr (&cmd, 0, 0, NULL, 0);
Index: portal.c
===================================================================
RCS file: /cvsroot/linuxisns/isnsNT/isnsclient/src/portal.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** portal.c 19 Dec 2006 20:33:49 -0000 1.8
--- portal.c 12 Jan 2007 21:13:01 -0000 1.9
***************
*** 322,325 ****
--- 322,326 ----
char tempb[256];
memset (tempb, 0, sizeof (tempb));
+ tempb[10] = tempb[11] = 0xff;
memcpy (tempb + 12, &ip, sizeof (ip));
ISNSAppendAttr (&cmd, ISNS_PORTAL_IP, 16, tempb, 0);
|