summaryrefslogtreecommitdiffhomepage
path: root/scripts/netifd-proto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/netifd-proto.sh')
-rw-r--r--scripts/netifd-proto.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh
index 447f0f6..64b3cab 100644
--- a/scripts/netifd-proto.sh
+++ b/scripts/netifd-proto.sh
@@ -365,6 +365,7 @@ init_proto() {
no_proto_task=0
available=0
renew_handler=0
+ teardown_on_l3_link_down=0
add_default_handler "proto_$1_init_config"
@@ -378,6 +379,7 @@ init_proto() {
json_add_boolean available "$available"
json_add_boolean renew-handler "$renew_handler"
json_add_boolean lasterror "$lasterror"
+ json_add_boolean teardown-on-l3-link-down "$teardown_on_l3_link_down"
json_dump
}
;;