summaryrefslogtreecommitdiff
path: root/system.c
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2015-08-21 10:11:57 +0800
committerSteven Barth <steven@midlink.org>2015-08-25 08:27:05 +0200
commit6ed631e55686b909e6db25838e6e591316933c97 (patch)
tree5cfd32bbb7f609675e1601f02f937b1d70cc2bd2 /system.c
parent11c7cf99c362b9dc33c6d1aa209321e38d131128 (diff)
downloadnetifd-6ed631e55686b909e6db25838e6e591316933c97.tar.gz
proto-shell: add checkup timeout to restart interface.
This is mainly for protocols with no_proto_task set. L2TP with xl2tpd is such a case and the issue this commit tries to address is that xl2tpd could fail redialing the connection (segfault or abort) without the notice of netifd causing the concerned interface being left down. This patch solves it by allowing users to configure an timeout value instructing netifd to check if the interface is in up state after its last attempt to setup it and try again if that is not the case. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'system.c')
0 files changed, 0 insertions, 0 deletions