Skip Menu |

This queue is for tickets about the PIX-Walker CPAN distribution.

Report information
The Basics
Id: 25398
Status: resolved
Priority: 0/
Queue: PIX-Walker

People
Owner: Nobody in particular
Requestors: ryan [...] muppethouse.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Patch for names with descriptions
Date: Mon, 12 Mar 2007 22:08:58 -0400
To: bug-PIX-Walker [...] rt.cpan.org
From: "Ryan Shea" <ryan [...] muppethouse.com>
This patch will fix a problem. Name to IP mappings at the top of a PIX config can actually have a description such as: name 10.11.12.13 mega-server-1 description Huge Honking Server --- Walker.pm 2006-06-13 14:16:56.000000000 -0400 +++ Walker.pm.new 2007-03-12 22:03:17.000000000 -0400 @@ -242,7 +242,7 @@ $self->_rewind($line); $self->{acls}{$name} = new PIX::Accesslist($name, $conf, $self); - } elsif ($line =~ /^name (\S+) (.+)/) { + } elsif ($line =~ /^name (\S+) (\S+)/) { $self->{alias}{$2} = $1; } }
Thanks, I'll make the change. On Mon Mar 12 22:09:13 2007, ryan@muppethouse.com wrote: Show quoted text
> This patch will fix a problem. Name to IP mappings at the top of a > PIX config can actually have a description such as: > name 10.11.12.13 mega-server-1 description Huge Honking Server > > > --- Walker.pm 2006-06-13 14:16:56.000000000 -0400 > +++ Walker.pm.new 2007-03-12 22:03:17.000000000 -0400 > @@ -242,7 +242,7 @@ > $self->_rewind($line); > $self->{acls}{$name} = new > PIX::Accesslist($name, $conf, $self); > > - } elsif ($line =~ /^name (\S+) (.+)/) { > + } elsif ($line =~ /^name (\S+) (\S+)/) { > $self->{alias}{$2} = $1; > } > }