diff options
Diffstat (limited to 'dist/netifd')
-rwxr-xr-x | dist/netifd/wgconfd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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" |