From a0dffdbbb59a29bba382f2af5499cace1b577312 Mon Sep 17 00:00:00 2001 From: Jack He Date: Mon, 4 Nov 2024 13:10:47 -0800 Subject: [PATCH] update comment and remove enabled features --- src/platform/datapath_kqueue.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/platform/datapath_kqueue.c b/src/platform/datapath_kqueue.c index 5e42ee7c7e..329a5f9705 100644 --- a/src/platform/datapath_kqueue.c +++ b/src/platform/datapath_kqueue.c @@ -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; } @@ -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);