Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
open-fcoe
fcoe-utils-fixes-no-lun-displa
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fcoe-utils-fixes-no-lun-displa of Package open-fcoe
fcoe-utils: fixes no lun display issue due to wrong check for target role From: Vasu Dev <vasu.dev@intel.com> Currently role string checking was looking for exact "FCP Target" string but some target could show up as "FCP Target, FCP Initiator" role, so instead just check for initial string is "FCP Target" to proceed with lun display. Also bumps up version to .13 Signed-off-by: Vasu Dev <vasu.dev@intel.com> --- configure.ac | 2 +- fcoeadm_display.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a0f9c91..14751e7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([fcoe-utils], [1.0.12], [devel@open-fcoe.org]) +AC_INIT([fcoe-utils], [1.0.13], [devel@open-fcoe.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC diff --git a/fcoeadm_display.c b/fcoeadm_display.c index 1ace624..3d80082 100644 --- a/fcoeadm_display.c +++ b/fcoeadm_display.c @@ -238,7 +238,7 @@ static int is_fcp_target(HBA_PORTATTRIBUTES *rp_info) if (sa_sys_read_line(rp_info->OSDeviceName, "roles", buf, sizeof(buf))) return -EINVAL; - if (!strncmp(buf, FCP_TARG_STR, strlen(buf))) + if (!strncmp(buf, FCP_TARG_STR, strlen(FCP_TARG_STR))) return 0; return -EINVAL;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor