Skip to content

Commit

Permalink
fix amneziawg proto
Browse files Browse the repository at this point in the history
  • Loading branch information
lolo6oT authored Jan 25, 2024
1 parent 322e75e commit 2810bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amnezia-wg-tools/files/amneziawg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ proto_amneziawg_setup() {
echo "H4 = ${awg_h4}" >> "${wg_cfg}"
fi

config_foreach proto_amneziawg_setup_peer "wireguard_${config}"
config_foreach proto_amneziawg_setup_peer "amneziawg_${config}"

# apply configuration file
${WG} setconf ${config} "${wg_cfg}"
Expand Down Expand Up @@ -305,4 +305,4 @@ proto_amneziawg_teardown() {

[ -n "$INCLUDE_ONLY" ] || {
add_protocol amneziawg
}
}

0 comments on commit 2810bfd

Please sign in to comment.