Commit 85e727bf authored by Philipp Kern's avatar Philipp Kern

netcfg-static: Do not bail out on s390x if the network driver is not qeth.

There is now also virtio. Optimally we would use netcfg proper on s390x in the future, rather than forcing netcfg-static, but that change is for another day. Closes: #798376
parent 3b2b2a26
netcfg (1.134) unstable; urgency=medium
* Fix is_layer3_qeth on s390x to avoid bailing out if the network
driver is not qeth. (Closes: #798376)
-- Philipp Kern <pkern@debian.org> Mon, 17 Aug 2015 17:12:10 +0200
netcfg (1.133) unstable; urgency=medium
[ Samuel Thibault ]
......
......@@ -293,11 +293,11 @@ int is_layer3_qeth(const char *iface)
goto out;
}
buf[slen + 1] = '\0';
buf[slen] = '\0';
driver = strrchr(buf, '/') + 1;
if (strcmp(driver, "qeth") != 0) {
di_error("no qeth found: %s", driver);
di_info("no qeth found: %s", driver);
goto out;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment