.description = "During sanity checking stream.c has detected an error in the data associated with a particular stream",
.suggestion = "Gather log data and open an Issue, restart FRR",
},
+ {
+ .code = LIB_WARN_LINUX_NS,
+ .title = "The Linux namespace subsystem has encountered a parsing error",
+ .description = "During system startup an invalid parameter for the namesapce was give to FRR",
+ .suggestion = "Gather log data and open an Issue. restart FRR",
+ },
{
.code = END_FERR,
},
pathname,
safe_strerror(errno));
else
- zlog_warn("Invalid pathname for %s: %s",
- pathname,
+ flog_warn(LIB_WARN_LINUX_NS,
+ "Invalid pathname for %s: %s", pathname,
safe_strerror(errno));
return NULL;
}
vty_out(vty, "NS name (%s) invalid: too long (>%d)\n",
check_base, NS_NAMSIZ - 1);
else
- zlog_warn("NS name (%s) invalid: too long (>%d)",
+ flog_warn(LIB_WARN_LINUX_NS,
+ "NS name (%s) invalid: too long (>%d)",
check_base, NS_NAMSIZ - 1);
return NULL;
}