Skip to content

Commit

Permalink
fix(generator/client): shorten wg interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricky-Hao authored Oct 23, 2023
1 parent 905992c commit a24536f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/homeproxy/scripts/generate_client.uc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function generate_outbound(node) {
packet_encoding: node.packet_encoding,
/* WireGuard */
system_interface: (node.type === 'wireguard') || null,
interface_name: (node.type === 'wireguard') ? 'singwg-cfg-' + node['.name'] + '-out' : null,
interface_name: (node.type === 'wireguard') ? 'wg-' + node['.name'] + '-out' : null,
local_address: node.wireguard_local_address,
private_key: node.wireguard_private_key,
peer_public_key: node.wireguard_peer_public_key,
Expand Down

0 comments on commit a24536f

Please sign in to comment.