| 261 | } |
| 262 | |
| 263 | static int internal_fork_child_setup(const struct internal_fork_params *ifpp) |
| 264 | { |
| 265 | init_log_level(); |
| 266 | |
| 267 | /* free the script if not needed */ |
| 268 | if (!(ifpp->flags & OSS_PROC_NEEDS_SCRIPT) && sroutes) { |
| 269 | free_route_lists(sroutes); |
| 270 | sroutes = NULL; |
| 271 | } |
| 272 | return 0; |
| 273 | } |
| 274 | |
| 275 | /* This function is to be called only by the main process! |
| 276 | * Returns, on success, the ID (non zero) in the process table of the |
nothing calls this directly
no test coverage detected