if (zroute >= array_size(route_types)) {
flog_err(EC_LIB_DEVELOPMENT, "unknown zebra route type: %u",
- zroute);
+ zroute);
return &unknown;
}
if (zroute == route_types[zroute].type)
}
}
flog_err(EC_LIB_DEVELOPMENT,
- "internal error: cannot find route type %u in table!",
- zroute);
+ "internal error: cannot find route type %u in table!", zroute);
return &unknown;
}
{
if (command >= array_size(command_types)) {
flog_err(EC_LIB_DEVELOPMENT, "unknown zserv command type: %u",
- command);
+ command);
return unknown.string;
}
return command_types[command].string;