mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 23:40:18 +00:00
Compare commits
No commits in common. "226004da949fb7303e8f4e3bd88ee1d9a376f396" and "f5d77a1dfb2acca551a28498a5782c8ea447d1f1" have entirely different histories.
226004da94
...
f5d77a1dfb
@ -44,7 +44,6 @@ class AutoInterface(Interface):
|
|||||||
|
|
||||||
PEERING_TIMEOUT = 7.5
|
PEERING_TIMEOUT = 7.5
|
||||||
|
|
||||||
ALL_IGNORE_IFS = ["lo0"]
|
|
||||||
DARWIN_IGNORE_IFS = ["awdl0", "llw0", "lo0", "en5"]
|
DARWIN_IGNORE_IFS = ["awdl0", "llw0", "lo0", "en5"]
|
||||||
ANDROID_IGNORE_IFS = ["dummy0", "lo", "tun0"]
|
ANDROID_IGNORE_IFS = ["dummy0", "lo", "tun0"]
|
||||||
|
|
||||||
@ -157,8 +156,6 @@ class AutoInterface(Interface):
|
|||||||
RNS.log(str(self)+" skipping Android system interface "+str(ifname), RNS.LOG_EXTREME)
|
RNS.log(str(self)+" skipping Android system interface "+str(ifname), RNS.LOG_EXTREME)
|
||||||
elif ifname in self.ignored_interfaces:
|
elif ifname in self.ignored_interfaces:
|
||||||
RNS.log(str(self)+" ignoring disallowed interface "+str(ifname), RNS.LOG_EXTREME)
|
RNS.log(str(self)+" ignoring disallowed interface "+str(ifname), RNS.LOG_EXTREME)
|
||||||
elif ifname in AutoInterface.ALL_IGNORE_IFS:
|
|
||||||
RNS.log(str(self)+" skipping interface "+str(ifname), RNS.LOG_EXTREME)
|
|
||||||
else:
|
else:
|
||||||
if len(self.allowed_interfaces) > 0 and not ifname in self.allowed_interfaces:
|
if len(self.allowed_interfaces) > 0 and not ifname in self.allowed_interfaces:
|
||||||
RNS.log(str(self)+" ignoring interface "+str(ifname)+" since it was not allowed", RNS.LOG_EXTREME)
|
RNS.log(str(self)+" ignoring interface "+str(ifname)+" since it was not allowed", RNS.LOG_EXTREME)
|
||||||
|
5
setup.py
5
setup.py
@ -22,9 +22,6 @@ else:
|
|||||||
pkg_name = "rns"
|
pkg_name = "rns"
|
||||||
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5', 'netifaces']
|
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5', 'netifaces']
|
||||||
|
|
||||||
excluded_modules = exclude=["tests.*", "tests"]
|
|
||||||
packages = setuptools.find_packages(exclude=excluded_modules)
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name=pkg_name,
|
name=pkg_name,
|
||||||
version=__version__,
|
version=__version__,
|
||||||
@ -34,7 +31,7 @@ setuptools.setup(
|
|||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://reticulum.network/",
|
url="https://reticulum.network/",
|
||||||
packages=packages,
|
packages=setuptools.find_packages(),
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
|
Loading…
Reference in New Issue
Block a user