projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5443661
)
track new_clients using tie
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 8 Sep 2009 17:30:14 +0000
(17:30 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 8 Sep 2009 17:30:14 +0000
(17:30 +0000)
lib/PXElator/server.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/server.pm
b/lib/PXElator/server.pm
index
0a0455d
..
089851a
100644
(file)
--- a/
lib/PXElator/server.pm
+++ b/
lib/PXElator/server.pm
@@
-11,6
+11,7
@@
tie our $bcast, 'server::tie', 'bcast' => '172.16.10.254';
tie our $ip_from, 'server::tie', 'ip_from' => 10;
tie our $ip_to, 'server::tie', 'ip_to' => 100;
tie our $domain, 'server::tie', 'domain' => 'pxelator.lan';
+tie our $new_clients, 'server::tie', 'new_clients' => $ip_to - $ip_from;
warn "DEV $ip $bcast $netmask";