What steps will reproduce the problem?
1. mnc -l -i eth0 239.255.255.250 (on the server)
2. mnc 239.255.255.250 (on the client)
3. then, type a message on the client's console, try ^D, try ^C
What is the expected output? What do you see instead?
The expected output would be to see the typed message on the server side.
But actually, nothing even transits through the network.
What version of the product are you using? On what operating system?
I'm using Gentoo 2006.1 Live DVD.
Please provide any additional information below.
The following patch will fix the problem (by sending n elements of 1 byte
instead of trying to send 1 element of n bytes):
--- mnc_main.c~ 2007-01-15 15:12:18.000000000 +0000
+++ mnc_main.c 2006-05-12 15:42:24.000000000 +0000
@@ -116,7 +116,7 @@
}
/* Send the packets */
- while((len = fread(buffer, sizeof(buffer), 1, stdin)) > 0)
+ while((len = fread(buffer, 1, sizeof(buffer), stdin)) > 0)
{
sendto(sock, buffer, len, 0, config->group->ai_addr,
config->group->ai_addrlen);
Original issue reported on code.google.com by yfsco...@googlemail.com on 16 Jan 2007 at 4:41
Original issue reported on code.google.com by
yfsco...@googlemail.com
on 16 Jan 2007 at 4:41Attachments: