Copilot commented on code in PR #12635:
URL: https://github.com/apache/trafficserver/pull/12635#discussion_r2488405122
##########
plugins/experimental/wasm/ats_context.cc:
##########
@@ -126,7 +126,11 @@ print_address(struct sockaddr const *ip, std::string
*result)
const auto *s_sockaddr_in6 = reinterpret_cast<const struct sockaddr_in6
*>(ip);
inet_ntop(AF_INET6, &s_sockaddr_in6->sin6_addr, cip, sizeof(cip));
port = s_sockaddr_in6->sin6_port;
- }
+ } else {
+ Dbg(dbg_ctl, "[%s] unsupported address family: %d", __FUNCTION__,
static_cast<int>(ip->sa_family));
+ *result = pv_empty;
+ return;
+ }
Review Comment:
Line 133 has trailing whitespace after the closing brace. This should be
removed to maintain consistent code formatting.
```suggestion
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]