diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-02-03 17:45:25 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-02-03 17:45:25 -0700 |
commit | a6441d6f5b283ba98ba2524a64cf5704cd47cb0b (patch) | |
tree | 95dc17899f26ef8f3ac1e5a21beb559d24d990b1 | |
parent | e7c661ea1ac16aacd51c179878cda8eded74414c (diff) | |
download | alpine-a6441d6f5b283ba98ba2524a64cf5704cd47cb0b.tar.xz |
* tcp debug can be enabled using -d tcp or -d tcpdebug. I had to do this
because I kept writing -d tcpdebug instead of -d tcp.
-rw-r--r-- | alpine/arg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alpine/arg.c b/alpine/arg.c index b39b313c..06e974f4 100644 --- a/alpine/arg.c +++ b/alpine/arg.c @@ -978,7 +978,8 @@ process_debug_str(char *debug_str) else if(struncmp(*p, "flush", 5) == 0){ ps_global->debug_flush = 1; } - else if(struncmp(*p, "tcp", 3) == 0){ + else if(struncmp(*p, "tcp", 3) == 0 + || struncmp(*p, "tcpdebug", 8) == 0){ ps_global->debug_tcp = 1; } else if(struncmp(*p, "verbose", 7) == 0){ |