]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3794] Comments updated.
authorTomek Mrugalski <tomasz@isc.org>
Tue, 9 Jun 2015 14:50:56 +0000 (16:50 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 9 Jun 2015 14:50:56 +0000 (16:50 +0200)
src/bin/dhcp4/dhcp4_srv.cc

index 1acb14f3ce4b4bf523f3a1a124958607bbbb97f4..bf1db5dc6afbff1c01913c7e2c5d85c5e7a36ee5 100644 (file)
@@ -2262,16 +2262,18 @@ void Dhcpv4Srv::processStatsReceived(const Pkt4Ptr& query) {
             stat_name = "pkt4-discover-received";
             break;
         case DHCPOFFER:
-            // should not happen, but we'll keep a counter for it anyway
+            // Should not happen, but let's keep a counter for it
             stat_name = "pkt4-offer-received";
             break;
         case DHCPREQUEST:
             stat_name = "pkt4-request-received";
             break;
         case DHCPACK:
+            // Should not happen, but let's keep a counter for it
             stat_name = "pkt4-ack-received";
             break;
         case DHCPNAK:
+            // Should not happen, but let's keep a counter for it
             stat_name = "pkt4-nak-received";
             break;
         case DHCPRELEASE:
@@ -2306,7 +2308,6 @@ void Dhcpv4Srv::processStatsSent(const Pkt4Ptr& response) {
     string stat_name;
     switch (response->getType()) {
     case DHCPOFFER:
-        // should not happen, but we'll keep a counter for it anyway
         stat_name = "pkt4-offer-sent";
         break;
     case DHCPACK: