projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad824ae
)
check AutoHide setting on LOC Authentication
author
pk910
<philipp@zoelle1.de>
Sun, 17 Jul 2011 04:49:22 +0000
(06:49 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 17 Jul 2011 04:49:22 +0000
(06:49 +0200)
src/proto-p10.c
patch
|
blob
|
history
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index 03a0fa0de76bfa3febbcd4da1671d9d78b52b4be..55d1b941432cf6e32da5fa19308c42e5cd3b94d4 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-1773,7
+1773,9
@@
static CMD_FUNC(cmd_relay)
} else {
devnull[0] = 0;
}
- if(getfakehost(argv[4])) {
+ if(!HANDLE_FLAGGED(hi, AUTOHIDE)) {
+ sprintf(tmp,"%s LA %s 0 %s\n",argv[3],hi->handle,devnull);
+ } else if(getfakehost(argv[4])) {
sprintf(tmp,"%s LA %s %s %s\n",argv[3],hi->handle,getfakehost(argv[4]),devnull);
} else {
extern const char *hidden_host_suffix;