From: Marcin Siodelski Date: Tue, 21 Jan 2014 08:41:42 +0000 (+0100) Subject: [3295] Renamed variable to conform to coding standards. X-Git-Tag: bind10-1.2.0beta1-release~83^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63b15fbdec1de9f40ad9cc0d486f59fa104d16d4;p=thirdparty%2Fkea.git [3295] Renamed variable to conform to coding standards. --- diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc index 5e6e5bed51..4af322eac0 100644 --- a/src/bin/dhcp6/dhcp6_srv.cc +++ b/src/bin/dhcp6/dhcp6_srv.cc @@ -1209,16 +1209,16 @@ Dhcpv6Srv::assignIA_NA(const Subnet6Ptr& subnet, const DuidPtr& duid, // Check if the client sent us a hint in his IA_NA. Clients may send an // address in their IA_NA options as a suggestion (e.g. the last address // they used before). - boost::shared_ptr hintOpt = boost::dynamic_pointer_cast - (ia->getOption(D6O_IAADDR)); + boost::shared_ptr hint_opt = + boost::dynamic_pointer_cast(ia->getOption(D6O_IAADDR)); IOAddress hint("::"); - if (hintOpt) { - hint = hintOpt->getAddress(); + if (hint_opt) { + hint = hint_opt->getAddress(); } LOG_DEBUG(dhcp6_logger, DBG_DHCP6_DETAIL, DHCP6_PROCESS_IA_NA_REQUEST) - .arg(duid?duid->toText():"(no-duid)").arg(ia->getIAID()) - .arg(hintOpt?hint.toText():"(no hint)"); + .arg(duid ? duid->toText() : "(no-duid)").arg(ia->getIAID()) + .arg(hint_opt ? hint.toText() : "(no hint)"); // "Fake" allocation is processing of SOLICIT message. We pretend to do an // allocation, but we do not put the lease in the database. That is ok,