projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93928e3
)
listen on IP address and port
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 Mar 2009 21:55:39 +0000
(21:55 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 Mar 2009 21:55:39 +0000
(21:55 +0000)
bin/ldap-koha.pl
patch
|
blob
|
history
diff --git
a/bin/ldap-koha.pl
b/bin/ldap-koha.pl
index
d50ebbc
..
40c64d6
100755
(executable)
--- a/
bin/ldap-koha.pl
+++ b/
bin/ldap-koha.pl
@@
-8,16
+8,16
@@
use IO::Socket;
use lib 'lib';
use LDAP::Koha;
-my $
port = 2389
;
+my $
listen = '10.60.0.13:2389'
;
my $sock = IO::Socket::INET->new(
Listen => 5,
Proto => 'tcp',
Reuse => 1,
- Local
Port => $port
,
+ Local
Addr => $listen
,
) || die;
-warn "# listening on $
port
";
+warn "# listening on $
listen
";
my $sel = IO::Select->new($sock);
my %Handlers;