Skip to content

Commit

Permalink
Fix devices and available typos
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
  • Loading branch information
ldir-EDB0 authored and wangyu- committed Jul 15, 2020
1 parent f3c8f70 commit 3fc23f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,9 @@ int client_event_loop()
}
if(strcmp(dev,"")==0)
{
mylog(log_info,"--dev have not been set, trying to detect automatically, avaliable deives:\n");
mylog(log_info,"--dev have not been set, trying to detect automatically, available devices:\n");

mylog(log_info,"avaliable deives(device name: ip address ; description):\n");
mylog(log_info,"available device(device name: ip address ; description):\n");

char errbuf[PCAP_ERRBUF_SIZE];

Expand Down Expand Up @@ -934,7 +934,7 @@ int client_event_loop()
if(cnt==0) log_bare(log_warn," [no ip found]");
if(d->description==0)
{
log_bare(log_warn,"; (no description avaliable)");
log_bare(log_warn,"; (no description available)");
}
else
{
Expand Down
6 changes: 3 additions & 3 deletions doc/README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ usage:
run as server : ./this_program -s -l server_listen_ip:server_port -r remote_address:remote_port [options]
common options,these options must be same on both side:
--raw-mode <string> avaliable values:faketcp(default),udp,icmp
--raw-mode <string> available values:faketcp(default),udp,icmp
-k,--key <string> password to gen symetric key,default:"secret key"
--cipher-mode <string> avaliable values:aes128cbc(default),xor,none
--auth-mode <string> avaliable values:hmac_sha1,md5(default),crc32,simple,none
--cipher-mode <string> available values:aes128cbc(default),xor,none
--auth-mode <string> available values:hmac_sha1,md5(default),crc32,simple,none
-a,--auto-rule auto add (and delete) iptables rule
-g,--gen-rule generate iptables rule then exit,so that you can copy and
add it manually.overrides -a
Expand Down
6 changes: 3 additions & 3 deletions misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ void print_help()
printf(" run as server : ./this_program -s -l server_listen_ip:server_port -r remote_address:remote_port [options]\n");
printf("\n");
printf("common options,these options must be same on both side:\n");
printf(" --raw-mode <string> avaliable values:faketcp(default),udp,icmp and easy-faketcp\n");
printf(" --raw-mode <string> available values:faketcp(default),udp,icmp and easy-faketcp\n");
printf(" -k,--key <string> password to gen symetric key,default:\"secret key\"\n");
printf(" --cipher-mode <string> avaliable values:aes128cfb,aes128cbc(default),xor,none\n");
printf(" --auth-mode <string> avaliable values:hmac_sha1,md5(default),crc32,simple,none\n");
printf(" --cipher-mode <string> available values:aes128cfb,aes128cbc(default),xor,none\n");
printf(" --auth-mode <string> available values:hmac_sha1,md5(default),crc32,simple,none\n");
printf(" -a,--auto-rule auto add (and delete) iptables rule\n");
printf(" -g,--gen-rule generate iptables rule then exit,so that you can copy and\n");
printf(" add it manually.overrides -a\n");
Expand Down

0 comments on commit 3fc23f5

Please sign in to comment.