Skip to content

Commit

Permalink
debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
laduke committed Sep 12, 2024
1 parent 98e532d commit c7c3abe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/ZeroTierOne.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ extern "C" {
/**
* Minimum UDP payload size allowed
*/
#define ZT_MIN_PHYSMTU 1400
#define ZT_MIN_PHYSMTU 510

/**
* Maximum physical interface name length. This number is gigantic because of Windows.
Expand Down
2 changes: 2 additions & 0 deletions node/Topology.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ class Topology
pc.mtu = ZT_MAX_PHYSMTU;
}

fprintf(stderr,"phy mtu %d\n",pc.mtu);

cpaths[*(reinterpret_cast<const InetAddress *>(pathNetwork))] = pc;
} else {
cpaths.erase(*(reinterpret_cast<const InetAddress *>(pathNetwork)));
Expand Down

0 comments on commit c7c3abe

Please sign in to comment.