Browse Source

spelling: writing

Josh Soref 7 years ago
parent
commit
cb41b17702
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/lib/dhcp/pkt4.h
  2. 1 1
      src/lib/dhcp/pkt6.cc
  3. 1 1
      src/lib/dhcpsrv/lease_file_stats.h

+ 1 - 1
src/lib/dhcp/pkt4.h

@@ -73,7 +73,7 @@ public:
     /// Prepares on-wire format of message and all its options.
     /// Options must be stored in options_ field.
     /// Output buffer will be stored in buffer_out_.
-    /// The buffer_out_ is cleared before writting to the buffer.
+    /// The buffer_out_ is cleared before writing to the buffer.
     ///
     /// @throw InvalidOperation if packing fails
     virtual void pack();

+ 1 - 1
src/lib/dhcp/pkt6.cc

@@ -281,7 +281,7 @@ Pkt6::pack() {
 void
 Pkt6::packUDP() {
     try {
-        // Make sure that the buffer is empty before we start writting to it.
+        // Make sure that the buffer is empty before we start writing to it.
         buffer_out_.clear();
 
         // is this a relayed packet?

+ 1 - 1
src/lib/dhcpsrv/lease_file_stats.h

@@ -53,7 +53,7 @@ public:
         return (write_leases_);
     }
 
-    /// @brief Gets the number of errors when writting leases
+    /// @brief Gets the number of errors when writing leases
     uint32_t getWriteErrs() const {
         return (write_errs_);
     }