projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8508252
)
Allow IPv6 remote log dest
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 1 Nov 2010 04:55:23 +0000
(21:55 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 1 Nov 2010 04:55:23 +0000
(21:55 -0700)
syslog/save_log.cgi
patch
|
blob
|
history
diff --git
a/syslog/save_log.cgi
b/syslog/save_log.cgi
index
5d2e017
..
378e789
100755
(executable)
--- a/
syslog/save_log.cgi
+++ b/
syslog/save_log.cgi
@@
-154,7
+154,7
@@
else {
$log->{'pipe'} = $in{'pipe'};
}
elsif ($in{'mode'} == 2) {
-
gethostbyname
($in{'host'}) ||
+
&to_ipaddress($in{'host'}) || &to_ip6address
($in{'host'}) ||
&error(&text('save_ehost', $in{'host'}));
$log->{'host'} = $in{'host'};
}