Skip to content

Commit

Permalink
Bump the size of the mirror VFD IP field (HDFGroup#4167)
Browse files Browse the repository at this point in the history
The IP address string isn't big enought to hold an IPv4-mapped IPv6
address.
  • Loading branch information
derobins authored and lrknox committed Mar 21, 2024
1 parent 76608b2 commit 5005196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5FDmirror.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define H5FD_MIRROR_CURR_FAPL_T_VERSION 1

/** Max size of the remote_ip array in H5FD_mirror_fapl_t */
#define H5FD_MIRROR_MAX_IP_LEN 32
#define H5FD_MIRROR_MAX_IP_LEN 45 /* Max size of an IPv4-mapped IPv6 address */

/**
*\struct H5FD_mirror_fapl_t
Expand Down

0 comments on commit 5005196

Please sign in to comment.