Let the directory entities of symlink type be taken into
account.
Change-Id: Ic0197e81d1e0c761ca6a0fe9ea2dbcb56eee447b
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
}
// Unknown type is accepted to support dump filesystems
- if (dirEnt->d_type == DT_REG || dirEnt->d_type == DT_UNKNOWN) {
+ if (dirEnt->d_type == DT_REG ||
+ dirEnt->d_type == DT_UNKNOWN ||
+ dirEnt->d_type == DT_LNK) {
// check prefix and extention
ssize_t extentionIdx = strlen(dirEnt->d_name) - extentionLen;