if (check_routers_before_use &&
dead_router_check_interval <= 0) {
- LCONSOLE_ERROR("'dead_router_check_interval' must be set if "
+ LCONSOLE_ERROR(0x10a, "'dead_router_check_interval' must be set if "
"'check_routers_before_use' is set\n");
return -EINVAL;
}
} else if (!strcmp(forwarding, "enabled")) {
/* explicitly enabled */
} else {
- LCONSOLE_ERROR("'forwarding' not set to either "
+ LCONSOLE_ERROR(0x10b, "'forwarding' not set to either "
"'enabled' or 'disabled'\n");
return -EINVAL;
}
if (tiny_router_buffers <= 0) {
- LCONSOLE_ERROR("tiny_router_buffers=%d invalid when "
+ LCONSOLE_ERROR(0x10c, "tiny_router_buffers=%d invalid when "
"routing enabled\n", tiny_router_buffers);
rc = -EINVAL;
goto failed;
goto failed;
if (small_router_buffers <= 0) {
- LCONSOLE_ERROR("small_router_buffers=%d invalid when "
+ LCONSOLE_ERROR(0x10d, "small_router_buffers=%d invalid when "
"routing enabled\n", small_router_buffers);
rc = -EINVAL;
goto failed;
goto failed;
if (large_router_buffers <= 0) {
- LCONSOLE_ERROR("large_router_buffers=%d invalid when "
+ LCONSOLE_ERROR(0x10e, "large_router_buffers=%d invalid when "
"routing enabled\n", large_router_buffers);
rc = -EINVAL;
goto failed;