Author: sephe
Date: Mon Aug  7 02:33:22 2017
New Revision: 322133
URL: https://svnweb.freebsd.org/changeset/base/322133

Log:
  MFC 321965
      hyperv/kvp: Use proper size macro for adapter id.
  
      Submitted by:   Christopher Ertl <Christopher.Ertl microsoft com>
      Sponsored by:   Microsoft

Modified:
  stable/10/sys/dev/hyperv/utilities/hv_kvp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/hyperv/utilities/hv_kvp.c
==============================================================================
--- stable/10/sys/dev/hyperv/utilities/hv_kvp.c Mon Aug  7 02:29:09 2017        
(r322132)
+++ stable/10/sys/dev/hyperv/utilities/hv_kvp.c Mon Aug  7 02:33:22 2017        
(r322133)
@@ -253,7 +253,7 @@ hv_kvp_convert_utf8_ipinfo_to_utf16(struct hv_kvp_msg 
            UNUSED_FLAG,
            &err_dns);
        utf8_to_utf16((uint16_t *)host_ip_msg->kvp_ip_val.adapter_id,
-           MAX_IP_ADDR_SIZE,
+           MAX_ADAPTER_ID_SIZE,
            (char *)umsg->body.kvp_ip_val.adapter_id,
            strlen((char *)umsg->body.kvp_ip_val.adapter_id),
            UNUSED_FLAG,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to