Docker: add options for multicast groups (#290)

This commit is contained in:
Jason Lyu
2023-08-28 07:04:22 +08:00
committed by GitHub
parent 19ba20ffc0
commit 73ea4358cb
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -81,6 +81,10 @@ run() {
ARGS="$ARGS --tcp-auto-tuning"
fi
if [ -n "$MULTICAST_GROUPS" ]; then
ARGS="$ARGS --multicast-groups $MULTICAST_GROUPS"
fi
exec tun2socks \
--loglevel "$LOGLEVEL" \
--fwmark "$FWMARK" \