git://git.onelab.eu
/
nodeconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renaming WWW module into PLCWWW for more consistency, and wrt the onelab build
[nodeconfig.git]
/
ipod.conf.php
diff --git
a/ipod.conf.php
b/ipod.conf.php
index
695e001
..
f0462d4
100755
(executable)
--- a/
ipod.conf.php
+++ b/
ipod.conf.php
@@
-5,19
+5,20
@@
// Mark Huang <mlhuang@cs.princeton.edu>
// Copyright (C) 2004-2006 The Trustees of Princeton University
//
// Mark Huang <mlhuang@cs.princeton.edu>
// Copyright (C) 2004-2006 The Trustees of Princeton University
//
-// $Id
: ipod.conf.php,v 1.1 2006/04/07 19:29:04 mlhuang Exp
$
+// $Id$
//
include('plc_config.php');
// Allow only the API server to send a reboot packet
//
include('plc_config.php');
// Allow only the API server to send a reboot packet
-$IP_SUBNET = gethostbyname(PLC_API_HOST);
+$IP_SUBNET = PLC_API_IPOD_SUBNET;
+$IP_MASK = PLC_API_IPOD_MASK;
echo <<<EOF
# IP range that we respond to reboot requests from
IP_SUBNET=$IP_SUBNET
echo <<<EOF
# IP range that we respond to reboot requests from
IP_SUBNET=$IP_SUBNET
-IP_MASK=
255.255.255.255
+IP_MASK=
$IP_MASK
EOF;
EOF;
-?>
\ No newline at end of file
+?>