Hi Arturo, On Mon, Sep 25, 2017 at 01:19:27PM +0200, Arturo Borrero Gonzalez wrote: > diff --git a/ulogd.conf.in b/ulogd.conf.in > index a987d64..fe54420 100644 > --- a/ulogd.conf.in > +++ b/ulogd.conf.in > @@ -24,6 +24,16 @@ logfile="/var/log/ulogd.log" > # 2. options for each plugin in seperate section below > > > +# load all the plugins in one go. Then, there is no need to specify each > +# plugin individually. There are two ways of using this clause, by leaving it > +# blank (default) or by using a filesystem path. If blank a default directory > +# configured at build time will be used (--with-ulogd2libdir). > +# > +# Examples: > +# > +# load_all_plugins= > +# load_all_plugins=/usr/local/lib/ulogd/ > + > plugin="@pkglibdir@/ulogd_inppkt_NFLOG.so" > #plugin="@pkglibdir@/ulogd_inppkt_ULOG.so" > #plugin="@pkglibdir@/ulogd_inppkt_UNIXSOCK.so" Just an idea, probably better something like: plugin="@pkglibdir@/" I mean, if you specify a directory, then this means "include every ulogd_*.so file there", it's easy to check via stat() if this is path represents a directory, so you can skip string handling tricks. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html