Blame SOURCES/fcoe-utils-v1.0.30-3-sanmac-isn-t-required.patch

e343c9
From 8065e01707c3306380c684712e547fcf0e4e55da Mon Sep 17 00:00:00 2001
e343c9
From: Chris Leech <cleech@redhat.com>
e343c9
Date: Thu, 5 Feb 2015 11:46:31 -0800
e343c9
Subject: [PATCH] sanmac isn't required
e343c9
e343c9
Signed-off-by: Chris Leech <cleech@redhat.com>
e343c9
---
e343c9
 lib/fip.c | 2 +-
e343c9
 1 file changed, 1 insertion(+), 1 deletion(-)
e343c9
e343c9
diff --git a/lib/fip.c b/lib/fip.c
e343c9
index 6657b61..5e5b179 100644
e343c9
--- a/lib/fip.c
e343c9
+++ b/lib/fip.c
e343c9
@@ -215,7 +215,7 @@ int fip_socket(int ifindex, enum fip_multi multi)
e343c9
 		return s;
e343c9
 
e343c9
 	rc = fip_socket_sanmac(s, ifindex, 1);
e343c9
-	if (rc < 0) {
e343c9
+	if (rc < 0 && rc != -ENXIO) {
e343c9
 		close(s);
e343c9
 		return rc;
e343c9
 	}
e343c9
-- 
e343c9
2.1.0
e343c9