Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG - missing awk #11

Open
dieskim opened this issue Jul 3, 2023 · 1 comment
Open

BUG - missing awk #11

dieskim opened this issue Jul 3, 2023 · 1 comment

Comments

@dieskim
Copy link

dieskim commented Jul 3, 2023

https://github.com/MartineauUK/wireguard/blob/main/wg_manager.sh#L5810C13-L5810C25

SITE_ONE_LAN=$('NR==1{print $NF}' /opt/etc/wireguard.d/$WG_INTERFACE.conf)

Should read

SITE_ONE_LAN=$(awk 'NR==1{print $NF}' /opt/etc/wireguard.d/$WG_INTERFACE.conf)

@dieskim
Copy link
Author

dieskim commented Jul 3, 2023

site2site add command seems like it has a few more bugs - ill try to fix them and report back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant