Hi Ira,
On 16:37 Fri 18 Jan , Ira Weiny wrote:
> From ac265e5c7130bf9a6b43ae2ed86ae342dbfe6bc0 Mon Sep 17 00:00:00 2001
> From: Ira K. Weiny <[EMAIL PROTECTED]>
> Date: Fri, 18 Jan 2008 16:26:50 -0800
> Subject: [PATCH] infiniband-diags/scripts/ibprintswitch.pl: fix regex when
> searching for switch
> by name
>
> Signed-off-by: Ira K. Weiny <[EMAIL PROTECTED]>
> ---
> infiniband-diags/scripts/ibprintswitch.pl | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/infiniband-diags/scripts/ibprintswitch.pl
> b/infiniband-diags/scripts/ibprintswitch.pl
> index d28a839..23a39b5 100755
> --- a/infiniband-diags/scripts/ibprintswitch.pl
> +++ b/infiniband-diags/scripts/ibprintswitch.pl
> @@ -104,7 +104,7 @@ sub main
> print $ports{$port};
> }
> }
> - if ("0x$guid" eq $target_switch || $desc =~ /.*$target_switch\s+.*/)
> + if ("0x$guid" eq $target_switch || $desc =~ /.*$target_switch.*/)
When the original regex will not work?
Sasha
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general