Hi Oliver, there are some more occurences of this bug which lead to cron warnings and device.html not anymore working. Here are patches:
> --- /usr/share/perl5/netdisco.pm~ 2012-09-24 11:16:52.000000000 +0200
> +++ /usr/share/perl5/netdisco.pm 2013-06-18 14:26:08.345011648 +0200
> @@ -334,7 +334,7 @@
> my @hash_refs_mult = qw/v3_user/;
>
> # Add custom types from caller outside netdisco
> - foreach my $type qw(booleans array_refs hash_refs array_refs_mult
> hash_refs_mult) {
> + foreach my $type (qw(booleans array_refs hash_refs array_refs_mult
> hash_refs_mult)) {
> eval "push(\@$type, \@{\$args{config}{\$type}});";
> }
>
> --- /usr/share/netdisco/html/device.html~ 2009-09-08 23:19:51.000000000
> +0200
> +++ /usr/share/netdisco/html/device.html 2013-06-18 14:26:21.737066601
> +0200
> @@ -567,7 +567,7 @@
> % if ($mod->{port}) {
> (<% $mod->{port} %>)
> % }
> -% for my $f qw(fw hw sw) {
> +% for my $f (qw(fw hw sw)) {
> % if ($mod->{"${f}_ver"}) {
> [<%$f%>: <%$mod->{"${f}_ver"}%>]
> % }
Christoph
--
============================================================================
Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany
Anselm Franz von Bentzel-Weg 12, 55128 Mainz
Telefon: +49(6131)3926337
Instant-Messaging: Jabber: [email protected]
(Siehe http://www.zdv.uni-mainz.de/4010.php)
<<attachment: martin.vcf>>
signature.asc
Description: OpenPGP digital signature

