summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwg-genconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wg-genconf.py b/wg-genconf.py
index d02766b..70c6ca6 100755
--- a/wg-genconf.py
+++ b/wg-genconf.py
@@ -360,7 +360,7 @@ def read_privkey(path):
def get_privkey(if_):
path = if_.peer.get(
- 'privkey-path', '~/.wg-genconf/${peer}/${network}.privkey')
+ 'privkey-path', '~/.wg-genconf/${peer}/${network}.key')
if path:
path = if_.peer.format_string(os.path.expanduser(path))