diff --git a/net/procfs/net_procfs.c b/net/procfs/net_procfs.c index b3481fc728..64aa3adab7 100644 --- a/net/procfs/net_procfs.c +++ b/net/procfs/net_procfs.c @@ -660,7 +660,7 @@ static int netprocfs_stat(FAR const char *relpath, FAR struct stat *buf) { /* Check for the directory "net" */ - if (strcmp(relpath, "net") == 0) + if (strcmp(relpath, "net") == 0 || strcmp(relpath, "net/") == 0) { buf->st_mode = S_IFDIR | S_IROTH | S_IRGRP | S_IRUSR; }