--- contrib/openbsm/libauditd/auditd_lib.c.dist 2009-07-17 14:02:20.000000000 +0000 +++ contrib/openbsm/libauditd/auditd_lib.c 2010-08-19 14:58:52.000000000 +0000 @@ -427,11 +427,12 @@ struct audit_trail *new; /* * Quickly filter non-trail files. */ - if (dp->d_namlen != (FILENAME_LEN - 1) || + if (dp->d_namlen != (FILENAME_LEN - 1 + + (auditd_hostlen == -1 ? 0 : auditd_hostlen + 1)) || #ifdef DT_REG dp->d_type != DT_REG || #endif dp->d_name[POSTFIX_LEN] != '.') continue;