mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
inetd: only restart inetd services when neccessary
Do not restart a inetd service if the listening interface is changed. Only bring down established connection which are no longer allowed, i.e. do not touch already allowed established connections. Signed-off-by: Jonas Johansson <jonasj76@gmail.com>
This commit is contained in:
1 parent
efb1d40ffd
commit
f522a26125
4 files changed
+30
-13
No files matched your search
@@ -58,6 +58,7 @@ int inetd_check_loop(struct sockaddr *sa, socklen_t len, char *name);
|
||||
|
||||
int inetd_start (inetd_t *inetd);
|
||||
void inetd_stop (inetd_t *inetd);
|
||||
void inetd_stop_children (inetd_t *inetd, int check_allowed);
|
||||
|
||||
int inetd_new (inetd_t *inetd, char *name, char *service, char *proto, int forking, svc_t *svc);
|
||||
int inetd_del (inetd_t *inetd);
|
||||
|
||||
Reference in new issue
Block a user