ttlIsConnected function

bool ttlIsConnected(
  1. Duration ttl
)

Returns true if the TTL is at least as long as the connected TTL.

Implementation

bool ttlIsConnected(Duration ttl) {
  return ttl >= AddressTTL.connectedAddrTTL;
}