diff --git a/RELNOTES b/RELNOTES index 89070169..0c20cea8 100644 --- a/RELNOTES +++ b/RELNOTES @@ -57,6 +57,10 @@ by Eric Young (eay@cryptsoft.com). - Fixed util/bindvar.sh error handling. [ISC-Bugs #41973] +- Correct error message in relay to use remote id length instead + of circuit id length. + [ISC-Bugs #42556] + Changes since 4.3.4b1 - None diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 5ecd2656..2723356b 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -1174,7 +1174,7 @@ add_relay_agent_options(struct interface_info *ip, struct dhcp_packet *packet, if (ip->remote_id) { if (ip->remote_id_len > 255 || ip->remote_id_len < 1) log_fatal("Remote ID length %d out of range [1-255] " - "on %s\n", ip->circuit_id_len, ip->name); + "on %s\n", ip->remote_id_len, ip->name); optlen += ip->remote_id_len + 2; /* RAI_REMOTE_ID + len */ }