diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-20 20:18:04 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-20 20:18:04 +0000 |
commit | b80b01971d355cf70f0d4877906464f29a9c33c3 (patch) | |
tree | 313e324679552ff7248f12d80cc414872cfb44ac | |
parent | 65e1da2546a1ad20f5005c2a8b41c8eb51727a02 (diff) | |
download | drakx-net-b80b01971d355cf70f0d4877906464f29a9c33c3.tar drakx-net-b80b01971d355cf70f0d4877906464f29a9c33c3.tar.gz drakx-net-b80b01971d355cf70f0d4877906464f29a9c33c3.tar.bz2 drakx-net-b80b01971d355cf70f0d4877906464f29a9c33c3.tar.xz drakx-net-b80b01971d355cf70f0d4877906464f29a9c33c3.zip |
replace pipe characters with space in device descriptions
-rw-r--r-- | lib/network/connection.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/network/connection.pm b/lib/network/connection.pm index 0088ede..a641691 100644 --- a/lib/network/connection.pm +++ b/lib/network/connection.pm @@ -66,7 +66,9 @@ sub new { sub get_description { my ($self) = @_; - $self->{device}{description}; + my $description = $self->{device}{description}; + $description =~ s/\|/ /g; + $description; } sub get_driver { |