Skip to content

Commit

Permalink
Bump the size of the mirror VFD IP field
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 committed Mar 17, 2024
1 parent a56675e commit 983adde
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 983adde

Please sign in to comment.