projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ebca5
)
Inetd mode debugging code
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 23 May 2011 17:54:39 +0000
(10:54 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 23 May 2011 17:54:39 +0000
(10:54 -0700)
miniserv.pl
patch
|
blob
|
history
diff --git
a/miniserv.pl
b/miniserv.pl
index
487dfc7
..
7fd3e90
100755
(executable)
--- a/
miniserv.pl
+++ b/
miniserv.pl
@@
-419,6
+419,7
@@
if ($config{'inetd'}) {
print DEBUG "sn=$sn\n";
print DEBUG "length=",length($sn),"\n";
$localipv6 = length($sn) > 16;
+ print DEBUG "localipv6=$localipv6\n";
# Initialize SSL for this connection
if ($use_ssl) {
@@
-427,7
+428,6
@@
if ($config{'inetd'}) {
}
# Work out the hostname for this web server
- print DEBUG "localipv6=$localipv6\n";
$host = &get_socket_name(SOCK, $localipv6);
print DEBUG "host=$host\n";
$host || exit;