beremiz
Clone
Summary
Browse
Changes
Graph
Force Zeroconf to listen and answer only on interface specified with '-i' command line argument.
2018-10-23, Edouard Tisserant
dd959601e67a
Force Zeroconf to listen and answer only on interface specified with '-i' command line argument.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]