summaryrefslogtreecommitdiffstats
path: root/remote/modules/redsocks/data/opt/openslx/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/redsocks/data/opt/openslx/scripts')
-rwxr-xr-xremote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy b/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
index 6c39c077..60606148 100755
--- a/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
+++ b/remote/modules/redsocks/data/opt/openslx/scripts/systemd-setup_proxy
@@ -17,7 +17,7 @@ if [ "$SLX_PROXY_MODE" == "on" ]; then
elif [ "$SLX_PROXY_MODE" == "auto" -a -n "$SLX_PXE_CLIENT_IP" ]; then
[[ "$SLX_PXE_CLIENT_IP" =~ ^10\. ]] && PROXY=on
[[ "$SLX_PXE_CLIENT_IP" =~ ^192\.168\. ]] && PROXY=on
- [[ "$SLX_PXE_CLIENT_IP" =~ ^172\.[123] ]] && PROXY=on
+ [[ "$SLX_PXE_CLIENT_IP" =~ ^172\.[123][0-9]\. ]] && PROXY=on
fi
[ "$PROXY" == "off" ] && echo "Proxy mode not required." && exit 0