Hello Daniel,
This patch still needs to be applied because I am getting
__connman_inet_get_pnp_nameservers: Cannot read /proc/net/pnp Failed to
open file '/proc/net/pnp': No such file or directory
Kind regards,
Vasyl
On Mon, Apr 16, 2018 at 4:54 AM Vasyl Vavrychuk <vvavrychuk(a)gmail.com>
wrote:
This error happend on every boot.
---
src/inet.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/inet.c b/src/inet.c
index dcd1ab24..80d96737 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -3233,6 +3233,9 @@ char **__connman_inet_get_pnp_nameservers(const char
*pnp_file)
if (!pnp_file)
pnp_file = "/proc/net/pnp";
+ if (!g_file_test(pnp_file, G_FILE_TEST_EXISTS))
+ goto out;
+
if (!g_file_get_contents(pnp_file, &pnp, NULL, &error)) {
connman_error("%s: Cannot read %s %s\n", __func__,
pnp_file, error->message);
--
2.11.0