Skip to content

Commit

Permalink
Update DEFAULT_CONFIG.json5 with iface binding (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc authored Feb 28, 2024
1 parent 90617ff commit 01ae772
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DEFAULT_CONFIG.json5
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

/// Which endpoints to connect to. E.g. tcp/localhost:7447.
/// By configuring the endpoints, it is possible to tell zenoh which router/peer to connect to at startup.
/// For TCP/UDP on Linux, it is possible additionally specify the interface to be connected to:
/// E.g. tcp/192.168.0.1:7447#iface=eth0, for connect only if the IP address is reachable via the interface eth0
connect: {
endpoints: [
// "<proto>/<address>"
Expand All @@ -28,6 +30,8 @@
/// Which endpoints to listen on. E.g. tcp/localhost:7447.
/// By configuring the endpoints, it is possible to tell zenoh which are the endpoints that other routers,
/// peers, or client can use to establish a zenoh session.
/// For TCP/UDP on Linux, it is possible additionally specify the interface to be listened to:
/// E.g. tcp/0.0.0.0:7447#iface=eth0, for listen connection only on eth0
listen: {
endpoints: [
// "<proto>/<address>"
Expand Down

0 comments on commit 01ae772

Please sign in to comment.