ywkaras commented on code in PR #10944:
URL: https://github.com/apache/trafficserver/pull/10944#discussion_r1430881724
##########
lib/swoc/include/swoc/IPSrv.h:
##########
@@ -289,88 +291,91 @@ class IPSrv {
*/
self_type &assign(IP6Addr const &addr);
- /** Change the address.
+ /** Assign an address.
*
- * @param addr Address to assign.
+ * @param addr Address.
* @return @a this
*
- * If @a addr isn't valid then no assignment is made.
+ * If @a addr isn't valid then no assignment is made, otherwise the family
is changed to that of
+ * @a addr.
*/
self_type &assign(IPAddr const &addr);
- /** Change the host_order_port.
+ /** Assign port.
*
- * @param port Port in host order.
+ * @param port Port [host order].
* @return @a this.
*/
self_type &assign(in_port_t port);
- /** Change the address and port.
+ /** Assign an IPv4 address and port.
*
- * @param addr Address to assign.
- * @param port Port to assign.
+ * @param addr Address.
+ * @param port Port [host order].
* @return @a this
*/
self_type &assign(IP4Addr const &addr, in_port_t port);
- /** Change the address and port.
+ /** Assign an IPv6 address and port.
*
- * @param addr Address to assign.
- * @param port Port to assign.
+ * @param addr Address.
+ * @param port Port [host order].
* @return @a this
*/
self_type &assign(IP6Addr const &addr, in_port_t port);
- /** Change the address and port.
+ /** Assogm address amd [prt/
Review Comment:
Wha?
--
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]