Skip to content

Commit

Permalink
ovpn_genconfig
Browse files Browse the repository at this point in the history
Fixed server-bridge directive not using $OVPN_BR_ETH_IP (Fixes #2)
  • Loading branch information
Salvoxia committed Jan 29, 2024
1 parent 8de9107 commit d90ce99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ovpn_genconfig
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ fi

SERVER_DIRECTIVE="server $(getroute $OVPN_SERVER)"
if [ "${OVPN_USE_BRIDGE}" == "1" ]; then
SERVER_DIRECTIVE="server-bridge $(getroute $OVPN_SERVER) $OVPN_BR_ETH_SUBNET $OVPN_BR_DHCP_START $OVPN_BR_DHCP_END"
SERVER_DIRECTIVE="server-bridge $OVPN_BR_ETH_IP $OVPN_BR_ETH_SUBNET $OVPN_BR_DHCP_START $OVPN_BR_DHCP_END"
fi

cat > "$conf" <<EOF
Expand Down

0 comments on commit d90ce99

Please sign in to comment.