Skip to content

Commit 61be9cf

Browse files
committed
changed binary file name
1 parent 82a0adf commit 61be9cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2293,8 +2293,8 @@ void print_help()
22932293
printf("repository: https://github.com/wangyu-/udp2raw-tunnel\n");
22942294
printf("\n");
22952295
printf("usage:\n");
2296-
printf(" run as client : ./this_program -c -l adress:port -r adress:port [options]\n");
2297-
printf(" run as server : ./this_program -s -l adress:port -r adress:port [options]\n");
2296+
printf(" run as client : ./this_program -c -l local_listen_ip:local_port -r server_ip:server_port [options]\n");
2297+
printf(" run as server : ./this_program -s -l server_listen_ip:server_port -r remote_ip:remote_port [options]\n");
22982298
printf("\n");
22992299
printf("common options,these options must be same on both side:\n");
23002300
printf(" --raw-mode <string> avaliable values:faketcp(default),udp,icmp\n");

makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ FLAGS2= -O3
44
all:
55
sudo killall udp2raw||true
66
sleep 0.2
7-
g++ main.cpp -o udp2raw -static -ggdb -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS} ${FLAGS2}
8-
${ccmips} main.cpp -o udp2raw_mips -lrt -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -std=c++11 ${FLAGS} ${FLAGS2}
7+
g++ main.cpp -o udp2raw_amd64 -static -ggdb -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS} ${FLAGS2}
8+
${ccmips} main.cpp -o udp2raw_ar71xx -lrt -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -std=c++11 ${FLAGS} ${FLAGS2}
99
fast:
1010
sudo killall udp2raw||true
1111
sleep 0.2
12-
g++ main.cpp -o udp2raw -ggdb -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS}
12+
g++ main.cpp -o udp2raw_amd64 -ggdb -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS}
1313

1414

1515
debug:
16-
g++ main.cpp -o udp2raw -static -ggdb -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS} -Wformat-nonliteral -D MY_DEBUG
16+
g++ main.cpp -o udp2raw_amd64 -static -ggdb -I. -Ilib lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS} -Wformat-nonliteral -D MY_DEBUG

0 commit comments

Comments
 (0)