What do you think about the following fix?
--- cmds.c 31 May 2007 00:39:08 +0200 1.32
+++ cmds.c 28 Jun 2007 15:59:42 +0200
@@ -170,11 +170,7 @@ setpeer (argc, argv)
int port;
if (connected)
- {
- printf ("Already connected to %s, use close first.\n", hostname);
- code = -1;
- return;
- }
+ disconnect (0, 0);
if (argc < 2)
another (&argc, &argv, "to");
if (argc < 2 || argc > 3)
_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils