File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2293,8 +2293,8 @@ void print_help()
2293
2293
printf (" repository: https://github.com/wangyu-/udp2raw-tunnel\n " );
2294
2294
printf (" \n " );
2295
2295
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 " );
2298
2298
printf (" \n " );
2299
2299
printf (" common options,these options must be same on both side:\n " );
2300
2300
printf (" --raw-mode <string> avaliable values:faketcp(default),udp,icmp\n " );
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ FLAGS2= -O3
4
4
all :
5
5
sudo killall udp2raw|| true
6
6
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}
9
9
fast :
10
10
sudo killall udp2raw|| true
11
11
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}
13
13
14
14
15
15
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
You can’t perform that action at this time.
0 commit comments