File novell-nortelplugins-get_encflag.patch of Package novell-nortelplugins
Index: novell-nortelplugins-0.1.3/nortel/cli/profile.c
===================================================================
--- novell-nortelplugins-0.1.3.orig/nortel/cli/profile.c
+++ novell-nortelplugins-0.1.3/nortel/cli/profile.c
@@ -150,7 +150,7 @@ int nortel_get_privdata(char *buf, void
// Group Password has been accepted at the prompt and is unencrypted
scanf("IPSecUnEnc Password %s\n",groupUnEncPassword);
*/
- if (EOF == scanf("IPSec Password EncFlag %d\n", &gpEncFlag)) {
+ if (EOF == scanf("IPSec Password EncFlag %d", &gpEncFlag)) {
printf("Error input password.\n");
}
Index: novell-nortelplugins-0.1.3/ChangeLog
===================================================================
--- novell-nortelplugins-0.1.3.orig/ChangeLog
+++ novell-nortelplugins-0.1.3/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-09 Bin Li <bili@novell.com>
+
+ * nortel/cli/profile.c: fix scanf sleep when connecting vpn server.
+
2008-04-17 Bin Li <bili@novell.com>
* ipalias: fix the method for getting mtu and