Skip to content

Commit

Permalink
update comment and remove enabled features
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectsByJackHe committed Nov 4, 2024
1 parent b248ef0 commit a0dffdb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/platform/datapath_kqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,9 +578,8 @@ CxPlatDataPathGetSupportedFeatures(
)
{
//
// TTL should always be available / enabled on MacOS.
// Intentionally not enabling Feature_TTL on MacOS for now.
//
Datapath->Features |= CXPLAT_DATAPATH_FEATURE_TTL;
return Datapath->Features;
}

Expand Down Expand Up @@ -1131,7 +1130,7 @@ CxPlatSocketContextRecvComplete(

RecvPacket->Route->Queue = SocketContext;
RecvPacket->TypeOfService = 0;
RecvPacket->HopLimitTTL = 0; // TODO: Check to see if it's even possible to get this information on macOS and FreeBSD. If so, implement it. Otherwise, document that it's not supported.
RecvPacket->HopLimitTTL = 0; // TODO: We are not supporting this on MacOS (yet) unless there's a business need.

struct cmsghdr *CMsg;
for (CMsg = CMSG_FIRSTHDR(&SocketContext->RecvMsgHdr);
Expand Down

0 comments on commit a0dffdb

Please sign in to comment.