summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 8d904233c..4d2120a69 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -258,7 +258,7 @@ sub real_main {
(map {
my ($dstruct, $field, $item) = @$_;
$item->{val} = \$dstruct->{$field};
- if__($dstruct->{$field}, $item);
+ if__(exists $dstruct->{$field}, $item);
} ([ $netcnx, "irq", { label => N("Card IRQ") } ],
[ $netcnx, "mem", { label => N("Card mem (DMA)") } ],
[ $netcnx, "io", { label => N("Card IO") } ],