Hi Martin,

> If bridge is built in knerl, /sys/module/bridge can not be used to detect
> the support of bridge in kernel.
> ---
>  src/tethering.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/tethering.c b/src/tethering.c
> index 705f5ee..15e1ed9 100644
> --- a/src/tethering.c
> +++ b/src/tethering.c
> @@ -35,7 +35,7 @@
>  
>  #include <gdhcp/gdhcp.h>
>  
> -#define BRIDGE_SYSFS_DIR "/sys/module/bridge"
> +#define BRIDGE_SYSFS_DIR "/proc/sys/net/bridge"

are you sure this is correct? Even builtin kernel modules should show up
under /sys/module.

Regards

Marcel


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to