[FROG] pathspace for config files

Casey Deccio casey at deccio.net
Thu Aug 14 22:28:22 UTC 2025


> On Aug 13, 2025, at 1:53 PM, Casey Deccio <casey at deccio.net> wrote:
> 
> I'm having trouble getting mgmtd to recognize my -N option for finding my config files:
> 

This comment in lib/libfrr.h looks related, but I'm not sure what to make of it:

/* sysconfdir is generally /etc/frr/, some BSDs may use /usr/local/etc/frr/.
 * Will NOT include "pathspace" (namespace) suffix from -N. (libfrr.c handles
 * pathspace'ing config files.)  Has a slash at the end for "historical"
 * reasons.
 */
extern const char frr_sysconfdir[];

I can see that unlike other variables it 'Will NOT include "pathspace"', as indicated.  However, I cannot see where "libfrr.c handles pathspace'ing config files."

Casey


More information about the frog mailing list