1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Workaround for Glorytun UDP when hostname used for server

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-08-23 20:50:28 +02:00
parent 91811b555a
commit addb792bed
2 changed files with 10 additions and 6 deletions

View file

@ -56,6 +56,8 @@ start_instance() {
_log "starting ${PROG_NAME} ${1} instance $*"
host=$(resolveip $host)
if [ "$mode" = "to" ]; then
bind="bind from addr :: port 5000 to addr $host port $port"
else