1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-12-22 12:34:42 +01:00

Allow to configure the bind address of bird-lg

This commit is contained in:
Baptiste Jonglez 2014-02-12 22:09:09 +01:00
parent fe9a7f8fe4
commit ffafef27cd
2 changed files with 4 additions and 1 deletions

3
lg.cfg
View file

@ -5,6 +5,9 @@ LOG_LEVEL="WARNING"
DOMAIN = "tetaneutral.net"
BIND_IP = "0.0.0.0"
BIND_PORT = 5000
PROXY = {
"gw": 5000,
"h3": 5000,

2
lg.py
View file

@ -620,4 +620,4 @@ def show_route(request_type, hosts, proto):
if __name__ == "__main__":
app.run("0.0.0.0")
app.run(app.config.get("BIND_IP", "0.0.0.0"), app.config.get("BIND_PORT", 5000))