From 18d852960a02a9939616787043cddea68e92f226 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 7 Sep 2012 09:04:38 +0300 Subject: [PATCH] tethering: Re-add error message about missing bridge functionality Commit 4fe07df removed an error message about missing bridge functionality. Return it back. --- src/tethering.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tethering.c b/src/tethering.c index b734303..2d66cda 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -89,8 +89,10 @@ const char *__connman_tethering_get_bridge(void) args[1] = args[2] = 0; err = ioctl(sk, SIOCGIFBR, &args); close(sk); - if (err == -1) + if (err == -1) { + connman_error("Missing support for 802.1d ethernet bridging"); return NULL; + } return BRIDGE_NAME; } -- 2.7.4