]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3689] Trivial: rename infRequest to inf_request per coding guidelines.
authorMarcin Siodelski <marcin@isc.org>
Wed, 18 Mar 2015 08:38:30 +0000 (09:38 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 18 Mar 2015 08:38:30 +0000 (09:38 +0100)
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.h

index 5a216741a13923eeca25bbd72dbf1f307b416488..3f2c0e47b97dabaaebb7e8388ed03482d1dada4f 100644 (file)
@@ -2501,24 +2501,24 @@ Dhcpv6Srv::processDecline(const Pkt6Ptr& decline) {
 }
 
 Pkt6Ptr
-Dhcpv6Srv::processInfRequest(const Pkt6Ptr& infRequest) {
+Dhcpv6Srv::processInfRequest(const Pkt6Ptr& inf_request) {
 
     // Let's create a simplified client context here.
-    AllocEngine::ClientContext6 ctx = createContext(infRequest);
+    AllocEngine::ClientContext6 ctx = createContext(inf_request);
 
     // Create a Reply packet, with the same trans-id as the client's.
-    Pkt6Ptr reply(new Pkt6(DHCPV6_REPLY, infRequest->getTransid()));
+    Pkt6Ptr reply(new Pkt6(DHCPV6_REPLY, inf_request->getTransid()));
 
     // Copy client options (client-id, also relay information if present)
-    copyClientOptions(infRequest, reply);
+    copyClientOptions(inf_request, reply);
 
     // Append default options, i.e. options that the server is supposed
     // to put in all messages it sends (server-id for now, but possibly other
     // options once we start supporting authentication)
-    appendDefaultOptions(infRequest, reply);
+    appendDefaultOptions(inf_request, reply);
 
     // Try to assign options that were requested by the client.
-    appendRequestedOptions(infRequest, reply, ctx);
+    appendRequestedOptions(inf_request, reply, ctx);
 
     return (reply);
 }
index 483d2c0d6c81543f03918d461ff44e6849d75cbf..aeeefb21d8bb1a1cdb288b75cbebabd714e1197e 100644 (file)
@@ -242,8 +242,8 @@ protected:
 
     /// @brief Stub function that will handle incoming INF-REQUEST messages.
     ///
-    /// @param infRequest message received from client
-    Pkt6Ptr processInfRequest(const Pkt6Ptr& infRequest);
+    /// @param inf_request message received from client
+    Pkt6Ptr processInfRequest(const Pkt6Ptr& inf_request);
 
     /// @brief Creates status-code option.
     ///