we can make this better -- 2 char spacing should be 4, and the logic could be much more brief ;)

```c
if (node > CSP_DEFAULT_ROUTE) {
    return CSP_ERR_INVAL;
}

memset(&routes[node], 0, sizeof(csp_route_t));
return CSP_ERR_NONE;
}
```