summaryrefslogtreecommitdiffstats
path: root/lib/Config
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2005-08-18 20:44:26 +0200
committerNiko Tyni <ntyni@iki.fi>2005-08-18 20:44:26 +0200
commita23d80aaccf4392e8e703eea13440d3c19ca7c55 (patch)
tree941a14cb3ec96849d113f25fddfc7fc04b4cea66 /lib/Config
parentcfe62bb62be56069c1507c18e2ab842fe2ef06a9 (diff)
downloadsmokeping-a23d80aaccf4392e8e703eea13440d3c19ca7c55.tar.gz
smokeping-a23d80aaccf4392e8e703eea13440d3c19ca7c55.tar.xz
* 2.0/lib/Config/Grammar.pm:
+ update to official version 1.02
Diffstat (limited to 'lib/Config')
-rw-r--r--lib/Config/Grammar.pm28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/Config/Grammar.pm b/lib/Config/Grammar.pm
index 7cd71f1..bd3deea 100644
--- a/lib/Config/Grammar.pm
+++ b/lib/Config/Grammar.pm
@@ -6,7 +6,7 @@ package Config::Grammar;
use strict;
use vars qw($VERSION);
-$VERSION = '1.01';
+$VERSION = '1.02';
sub new($$)
{
@@ -58,7 +58,7 @@ sub _quotesplit($)
push @items, $frag;
}
else {
- die "Internal parser error for '$line'\n";
+ die "Internal parser error for '$line'";
}
}
return @items;
@@ -1426,18 +1426,18 @@ The data is interpreted as one or more columns separated by spaces.
*** network ***
- dns = 129.132.7.87
+ dns = 192.168.7.87
- + 129.132.7.64
+ + 192.168.7.64
netmask = 255.255.255.192
- gateway = 129.132.7.65
+ gateway = 192.168.7.65
*** hosts ***
- 00:50:fe:bc:65:11 129.132.7.97 plain.hades
- 00:50:fe:bc:65:12 129.132.7.98 isg.ee.hades
- 00:50:fe:bc:65:14 129.132.7.99 isg.ee.hades
+ 00:50:fe:bc:65:11 192.168.7.97 plain.hades
+ 00:50:fe:bc:65:12 192.168.7.98 isg.ee.hades
+ 00:50:fe:bc:65:14 192.168.7.99 isg.ee.hades
=head3 Result
@@ -1445,26 +1445,26 @@ The data is interpreted as one or more columns separated by spaces.
'hosts' => {
'00:50:fe:bc:65:11' => [
'00:50:fe:bc:65:11',
- '129.132.7.97',
+ '192.168.7.97',
'plain.hades'
],
'00:50:fe:bc:65:12' => [
'00:50:fe:bc:65:12',
- '129.132.7.98',
+ '192.168.7.98',
'isg.ee.hades'
],
'00:50:fe:bc:65:14' => [
'00:50:fe:bc:65:14',
- '129.132.7.99',
+ '192.168.7.99',
'isg.ee.hades'
]
},
'network' => {
- '129.132.7.64' => {
+ '192.168.7.64' => {
'netmask' => '255.255.255.192',
- 'gateway' => '129.132.7.65'
+ 'gateway' => '192.168.7.65'
},
- 'dns' => '129.132.7.87'
+ 'dns' => '192.168.7.87'
}
};