From b80b01971d355cf70f0d4877906464f29a9c33c3 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 20 Aug 2007 20:18:04 +0000 Subject: replace pipe characters with space in device descriptions --- lib/network/connection.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/network/connection.pm') 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 { -- cgit v1.2.1