From ff7ea7b5583ffce18ccb4bb56860a3eb145c688e Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Wed, 5 Feb 2020 00:24:42 +0100 Subject: Fix netifd peer config. --- dist/netifd/wgconfd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dist') diff --git a/dist/netifd/wgconfd.sh b/dist/netifd/wgconfd.sh index af34525..2f5783f 100755 --- a/dist/netifd/wgconfd.sh +++ b/dist/netifd/wgconfd.sh @@ -106,9 +106,9 @@ proto_wgconfd_setup__source_route() { proto_wgconfd_setup__peer() { local val - config_get val "$1" key + config_get val "$1" public_key [ -z "$val" ] && return - proto_wgconfd_setup__print public_key "$val" + proto_wgconfd_setup__print peer "$val" config_get val "$1" endpoint [ -n "$val" ] && proto_wgconfd_setup__print endpoint "$val" -- cgit