Commit f6578277 authored by Julian Rother's avatar Julian Rother
Browse files

Replaced INTERNAL_IP_RANGES by FSMPI_IP_RANGES

parent 8f276af5
......@@ -116,7 +116,7 @@ def streamdrop(id):
@app.route('/internal/streaming/auth/<server>', methods=['GET', 'POST'])
def streamauth(server):
internal = False
for net in config.get('INTERNAL_IP_RANGES', []):
for net in config.get('FSMPI_IP_RANGES', []):
if ip_address(request.headers['X-Real-IP']) in ip_network(net):
internal = True
if not internal:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment