mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 23:40:18 +00:00
Compare commits
1 Commits
f953c73076
...
cf14388c04
Author | SHA1 | Date | |
---|---|---|---|
|
cf14388c04 |
@ -137,8 +137,6 @@ class AutoInterface(Interface):
|
|||||||
self.multicast_address_type = AutoInterface.MULTICAST_TEMPORARY_ADDRESS_TYPE
|
self.multicast_address_type = AutoInterface.MULTICAST_TEMPORARY_ADDRESS_TYPE
|
||||||
elif str(multicast_address_type).lower() == "permanent":
|
elif str(multicast_address_type).lower() == "permanent":
|
||||||
self.multicast_address_type = AutoInterface.MULTICAST_PERMANENT_ADDRESS_TYPE
|
self.multicast_address_type = AutoInterface.MULTICAST_PERMANENT_ADDRESS_TYPE
|
||||||
else:
|
|
||||||
self.multicast_address_type = AutoInterface.MULTICAST_TEMPORARY_ADDRESS_TYPE
|
|
||||||
|
|
||||||
if data_port == None:
|
if data_port == None:
|
||||||
self.data_port = AutoInterface.DEFAULT_DATA_PORT
|
self.data_port = AutoInterface.DEFAULT_DATA_PORT
|
||||||
|
@ -33,20 +33,9 @@ system, which should be enabled by default in almost all OSes.
|
|||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
# This example demonstrates a bare-minimum setup
|
# This example demonstrates a TCP server interface.
|
||||||
# of an Auto Interface. It will allow communica-
|
# It will listen for incoming connections on the
|
||||||
# tion with all other reachable devices on all
|
# specified IP address and port number.
|
||||||
# usable physical ethernet-based devices that
|
|
||||||
# are available on the system.
|
|
||||||
|
|
||||||
[[Default Interface]]
|
|
||||||
type = AutoInterface
|
|
||||||
interface_enabled = True
|
|
||||||
|
|
||||||
# This example demonstrates an more specifically
|
|
||||||
# configured Auto Interface, that only uses spe-
|
|
||||||
# cific physical interfaces, and has a number of
|
|
||||||
# other configuration options set.
|
|
||||||
|
|
||||||
[[Default Interface]]
|
[[Default Interface]]
|
||||||
type = AutoInterface
|
type = AutoInterface
|
||||||
|
Loading…
Reference in New Issue
Block a user