summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/examples/openwrt/fastd.config3
-rw-r--r--doc/examples/openwrt/fastd.init3
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/examples/openwrt/fastd.config b/doc/examples/openwrt/fastd.config
index b47cc65..69e3b21 100644
--- a/doc/examples/openwrt/fastd.config
+++ b/doc/examples/openwrt/fastd.config
@@ -58,6 +58,9 @@ config fastd sample_config
# Set a packet mark to filter for with iptables or ip rules
# option packet_mark 42
+ # Socket to get fastd's status
+# option status_socket '/var/run/fastd-example.sock'
+
# Limits the maximum number of connections, optional
# option peer_limit 5
diff --git a/doc/examples/openwrt/fastd.init b/doc/examples/openwrt/fastd.init
index 41e5c15..f7a939c 100644
--- a/doc/examples/openwrt/fastd.init
+++ b/doc/examples/openwrt/fastd.init
@@ -72,6 +72,7 @@ config_string_mtu='mtu $(guard_value "$value");'
config_string_peer_limit='peer limit $(guard_value "$value");'
config_string_user='user $(escape_string "$value");'
config_string_group='group $(escape_string "$value");'
+config_string_status_socket='status socket $(escape_string "$value");'
config_string_pmtu='pmtu $(yes_no "$value");'
config_string_forward='forward $(yes_no "$value");'
config_string_hide_ip_addresses='hide ip addresses $(yes_no "$value");'
@@ -233,7 +234,7 @@ generate_config() {
append_options "$s" config \
config config_peer config_peer_dir bind method syslog_level mode interface mtu peer_limit \
- user group pmtu forward hide_ip_addresses hide_mac_addresses secure_handshakes packet_mark
+ user group status_socket pmtu forward hide_ip_addresses hide_mac_addresses secure_handshakes packet_mark
config_get mode "$s" mode