[Pkg-iscsi-maintainers] [SCM] Debian Open-iSCSI Packaging branch, upstream-mnc, updated. 2.0-872-193-gde2c0e7

Mike Christie michaelc at cs.wisc.edu
Sat Apr 7 15:44:06 UTC 2012


The following commit has been merged in the upstream-mnc branch:
commit f9f627fbf0fc96545931ae65aa2b6214841bfd4e
Author: Mike Christie <michaelc at cs.wisc.edu>
Date:   Tue Mar 6 05:11:45 2012 -0600

    iscsi tools: allow default to have different transort names
    
    For compat reasons we need to allow default to have different
    transport names. Before we added iface support, the default
    iface supported iser and tcp.

diff --git a/usr/iface.c b/usr/iface.c
index 1e7f46a..1d346ff 100644
--- a/usr/iface.c
+++ b/usr/iface.c
@@ -617,7 +617,7 @@ int iface_match(struct iface_rec *pattern, struct iface_rec *iface)
 		return 1;
 
 	if (!strcmp(pattern->name, iface->name)) {
-		if (strcmp(pattern->name, DEFAULT_IFACENAME))
+		if (!strcmp(pattern->name, DEFAULT_IFACENAME))
 			return 1;
 		/*
 		 * For default we allow the same name, but different

-- 
Debian Open-iSCSI Packaging



More information about the Pkg-iscsi-maintainers mailing list