Problem
I want to change the TIME_WAIT period from its default 30 seconds.
There is a parameter in /etc/default/inet which I can change with
# inconfig tcp_2msl <new value>where "new_value" is between 1 and 240.
But in /etc/conf/pack.d/tcp/space.c there is a line:
int tcp_2msl = 30;Do I have to run inconfig and do I have to make changes to space.c?
Solution
The values in space.c are default values.
To make a change to tcp_2msl it is sufficient to run:
# inconfig tcp_2msl <new value>where "new_value" is between 1 and 240.
No kernel rebuild or reboot is required!