File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,26 @@ my $version = LoxBerry::System::pluginversion();
1515
1616# config
1717my $cfg = new Config::Simple(" $lbpconfigdir /wolf_ism8i.conf" );
18-
18+
19+ if (! defined $cfg -> param(' enable' )) {
20+ $cfg -> param(' enable' , 0)
21+ }
22+ if (! defined $cfg -> param(' ism8i_port' )) {
23+ $cfg -> param(' ism8i_port' , 12004)
24+ }
25+ if (! defined $cfg -> param(' input_port' )) {
26+ $cfg -> param(' input_port' , 12005)
27+ }
28+ if (! defined $cfg -> param(' fw_version' )) {
29+ $cfg -> param(' fw_version' , 1.5)
30+ }
31+ if (! defined $cfg -> param(' multicast_port' )) {
32+ $cfg -> param(' multicast_port' , 35353)
33+ }
34+ if (! defined $cfg -> param(' dp_log' )) {
35+ $cfg -> param(' dp_log' , 0)
36+ }
37+
1938
2039# Template
2140my $template = HTML::Template-> new(
You can’t perform that action at this time.
0 commit comments