summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-11-21 23:57:01 +0000
committerOlivier Blin <blino@mageia.org>2011-11-21 23:57:01 +0000
commiteef97e87b4ba6391efeaea28f7c302bfa724e927 (patch)
tree8b2e774108e6b603c5cf8e98e0a31075a3fc01b8 /lib/network/connection
parenta72c69c3e01d36365eab1742652382089e960609 (diff)
downloaddrakx-net-eef97e87b4ba6391efeaea28f7c302bfa724e927.tar
drakx-net-eef97e87b4ba6391efeaea28f7c302bfa724e927.tar.gz
drakx-net-eef97e87b4ba6391efeaea28f7c302bfa724e927.tar.bz2
drakx-net-eef97e87b4ba6391efeaea28f7c302bfa724e927.tar.xz
drakx-net-eef97e87b4ba6391efeaea28f7c302bfa724e927.zip
fix parsing (and thus writing back) ACCOUNTING and NM_CONTROLLED in ifcfg
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/ethernet.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 7b76396..1aabbba 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -18,6 +18,7 @@ sub get_devices() {
require detect_devices;
my @devices = detect_devices::probe_category('network/main|gigabit|pcmcia|tokenring|usb|firewire');
my @lan = grep { detect_devices::is_lan_interface($_) && !detect_devices::is_wireless_interface($_) } detect_devices::get_all_net_devices();
+ use Data::Dumper; print Dumper(\@devices);
@devices, get_unlisted_devices(\@lan, \@devices);
}