summaryrefslogtreecommitdiff
path: root/relay/dhcrelay.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2016-06-01 10:25:08 -0700
committerShawn Routhier <sar@isc.org>2016-06-01 10:25:08 -0700
commit0b0a1399fa462bcbc5897019f55c2b784bb0c770 (patch)
treea55063624e54a52d3abc56a8bed9c1efe2e77782 /relay/dhcrelay.c
parent914c567d8e4db3aa81ae7f75def44950053a50b7 (diff)
downloadisc-dhcp-0b0a1399fa462bcbc5897019f55c2b784bb0c770.tar.gz
[master] Fix copy and paste error to use remote id instead of circuit id
Squashed commit of the following: commit 0f8b7fe0a421e3c46ffff69ac0fe47804fc663ec Author: Shawn Routhier <sar@isc.org> Date: Wed Jun 1 09:53:11 2016 -0700 [rt42556] Fix copy and paste error to use remote id instead of circuit id
Diffstat (limited to 'relay/dhcrelay.c')
-rw-r--r--relay/dhcrelay.c2
1 files changed, 1 insertions, 1 deletions
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 */
}