projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f19fe8
)
added rest of server vars
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Jan 2010 17:45:02 +0000
(17:45 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Jan 2010 17:45:02 +0000
(17:45 +0000)
lib/PXElator/server.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/server.pm
b/lib/PXElator/server.pm
index
e12872d
..
62928e1
100644
(file)
--- a/
lib/PXElator/server.pm
+++ b/
lib/PXElator/server.pm
@@
-63,7
+63,7
@@
sub as_hash_for {
my $ip = shift;
my $server;
- map { $server->{ $_ } = eval '$server::' . $_ } ( 'ip', 'netmask', 'bcast', 'domain' );
+ map { $server->{ $_ } = eval '$server::' . $_ } ( 'ip', 'netmask', 'bcast', 'domain'
, 'ip_from', 'ip_to', 'new_clients'
);
my $server_path = "$server::conf/ip/$ip/server.yaml";
$server = YAML::LoadFile $server_path if -e $server_path;