From: Robert W. <wrw...@us...> - 2006-11-06 17:18:10
|
Update of /cvsroot/linuxisns/isnsNT/isnsclient/src In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6619/src Modified Files: entity.c portal.c Log Message: src input required for portal entry Index: portal.c =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsclient/src/portal.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** portal.c 2 Apr 2002 20:56:54 -0000 1.2 --- portal.c 6 Nov 2006 17:18:00 -0000 1.3 *************** *** 290,293 **** --- 290,298 ---- /* Get Entity ID */ flag = FALSE; + + if (-1 ==GetSrc(&cmd,0)) + return 0; + + while (GetInput (cmdLine, "Entity ID", "(none)", sizeof (cmdLine))) { Index: entity.c =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsclient/src/entity.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** entity.c 25 Oct 2006 22:40:16 -0000 1.3 --- entity.c 6 Nov 2006 17:18:00 -0000 1.4 *************** *** 200,203 **** --- 200,205 ---- ISNSAppendAttr (&cmd, ISNS_PROT_VER, 0, NULL, 0); ISNSAppendAttr (&cmd, ISNS_ENTITY_PERIOD, 0, NULL, 0); + ISNSAppendAttr (&cmd, ISNS_PORTAL_IP, 0, NULL, 0); + ISNSAppendAttr (&cmd, ISNS_PORTAL_PORT, 0, NULL, 0); if (0 == ISNSSendCmd2 (&cmd, buffer, sizeof (buffer))) |