summaryrefslogtreecommitdiff
path: root/server/dhcpv6.c
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2015-04-10 14:04:29 -0400
committerThomas Markwalder <tmark@isc.org>2015-04-10 14:04:29 -0400
commit158ffa9064cb5fe4bd51adc1ee69573c18c776d7 (patch)
treefd518aa8f7eebd8675604ced8e74b9d576c820f7 /server/dhcpv6.c
parentba21bb1b5e075547d16e500688e55bbcf3e53489 (diff)
downloadisc-dhcp-158ffa9064cb5fe4bd51adc1ee69573c18c776d7.tar.gz
[master] Fixed unused variable error introduced by 21235
server/dhcpv6.c - removed unused variable
Diffstat (limited to 'server/dhcpv6.c')
-rw-r--r--server/dhcpv6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/dhcpv6.c b/server/dhcpv6.c
index ad26fce4..a9cab1fe 100644
--- a/server/dhcpv6.c
+++ b/server/dhcpv6.c
@@ -7165,8 +7165,6 @@ get_first_ia_addr_val (struct packet* packet, int addr_type,
/* Find the first, non-blank IA_XX value within an D6O_IA_XX option. */
for (ia = lookup_option(&dhcpv6_universe, packet->options, addr_type);
ia != NULL && oc == NULL; ia = ia->next) {
- u_int32_t iaid;
-
if (!get_encapsulated_IA_state(&cli_enc_opt_state,
&cli_enc_opt_data,
packet, ia, addr_opt_offset)) {
@@ -7175,7 +7173,6 @@ get_first_ia_addr_val (struct packet* packet, int addr_type,
return (ISC_R_FAILURE);
}
- iaid = getULong(cli_enc_opt_data.data);
oc = lookup_option(&dhcpv6_universe, cli_enc_opt_state,
addr_opt);
if (oc == NULL) {