LIBNL 3.0 classid lookup path

Sitbon Nicolas nsitbon at denyall.com
Thu Mar 24 12:02:11 EDT 2011


Hi,

I'm currently looking for potential issues for migrating my application  
 from libnl 2.0 to the newest 3.0.

It seems libnl try to read the file /etc/libnl/classid, /etc/libnl comes  
 from SYSCONFDIR (lib/route/classid.c:313) which is a compile time  
constant. My problem is that I don't know where my clients will install my  
application (libnl is shipped with it and it's a closed source  
application) so I can't configure (--sysconfdir) the path at compile time.  
Do you think it might be possible to add a way to modify the path to  
classid at runtime (environment variable)?

regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20110324/97a95c7f/attachment.html>


More information about the libnl mailing list