Commit be97dd33 by Michael Pastushkov

fix

parent c086a04e
#!/bin/sh #!/bin/sh
make clean && make && ./bytevia --local-port=1948 --remote-host=p4pn.net --remote-port=1984 --proto=udp --secret=52341 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 \ No newline at end of file
...@@ -440,7 +440,7 @@ int fork_udp() { ...@@ -440,7 +440,7 @@ int fork_udp() {
if (client_index == -1) { if (client_index == -1) {
if ((child_pid = fork()) == 0) { if ((child_pid = fork()) == 0) {
if (options.log) 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(); run();
exit(0); 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