Commit be97dd33 by Michael Pastushkov

fix

parent c086a04e
#!/bin/sh
make clean && make && ./bytevia --local-port=1948 --remote-host=p4pn.net --remote-port=1984 --proto=udp --secret=52341
\ No newline at end of file
make clean && make && ./bytevia --local-port=1948 --remote-host=p4pn.net --remote-port=1984 --proto=udp --secret=52341 --fork
\ No newline at end of file
......@@ -440,7 +440,7 @@ int fork_udp() {
if (client_index == -1) {
if ((child_pid = fork()) == 0) {
if (options.log)
printf("request from %s, forking %d ...\n", inet_ntoa(rc.client_addr.sin_addr), getpid());
printf("request from %s, forking %d:%d ...\n", inet_ntoa(rc.client_addr.sin_addr), rc.client_addr.sin_port, getpid());
run();
exit(0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment