refactor: rename and clarify peer config print statement
Renamed the 'chimpman_config' variable to 'peer_config' for clarity, and updated the print statement to more accurately reflect the content being displayed. This improves code readability and eliminates the use of ambiguous terminology. No changes to functionality.
This commit is contained in:
parent
2d2ec33a9c
commit
1aa3932555
1 changed files with 3 additions and 3 deletions
|
@ -391,7 +391,7 @@ def main(provider, location, server_type):
|
|||
listen_port = config["wireguard"]["listen_port"]
|
||||
persistent_keepalive = config["wireguard"]["peer_persistent_keepalive"]
|
||||
|
||||
chimpman_config = f"""
|
||||
peer_config = f"""
|
||||
[Peer]
|
||||
PublicKey = {public_key}
|
||||
PresharedKey = {preshared_key}
|
||||
|
@ -400,8 +400,8 @@ Endpoint = [{server_ip}]:{listen_port}
|
|||
PersistentKeepalive = {persistent_keepalive}
|
||||
"""
|
||||
|
||||
print("Chimpman Wireguard Configuration:")
|
||||
print(chimpman_config)
|
||||
print("Wireguard Configuration:")
|
||||
print(peer_config)
|
||||
|
||||
|
||||
# Run the main function with parsed arguments
|
||||
|
|
Loading…
Reference in a new issue