]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2187] Corrected the text of a few messages and removed a comment
authorStephen Morris <stephen@isc.org>
Wed, 26 Sep 2012 13:45:39 +0000 (14:45 +0100)
committerStephen Morris <stephen@isc.org>
Wed, 26 Sep 2012 13:45:39 +0000 (14:45 +0100)
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp6/dhcp6_messages.mes
src/lib/dhcp/iface_mgr_linux.cc

index 2ff8f5365bfc563e516963e353d441e89ec7de7a..63ddbfca19209d00cd9c3157d1aaf39a2836d5bb 100644 (file)
@@ -43,7 +43,7 @@ The IPv4 DHCP server has received a packet that it is unable to
 interpret. The reason why the packet is invalid is included in the message.
 
 % DHCP4_PACKET_RECEIVE_FAIL error on attempt to receive packet: %1
-The IPv4 DHCP server tried to receive a packet but unexpected error
+The IPv4 DHCP server tried to receive a packet but an error
 occured during this attempt. The reason for the error is included in
 the message.
 
@@ -54,8 +54,9 @@ may well be a valid DHCP packet, just a type not expected by the server
 (e.g. it will report a received OFFER packet as UNKNOWN).
 
 % DHCP4_PACKET_SEND_FAIL failed to send DHCPv4 packet: %1
-This error is output if IPv6 DHCP server fails to send assembled DHCP
-message to a client. The reason for the error is included in the message.
+This error is output if the IPv4 DHCP server fails to send an assembled
+DHCP message to a client. The reason for the error is included in the
+message.
 
 % DHCP4_PACK_FAIL failed to assemble response correctly
 This error is output if the server failed to assemble the data to be
index 424e2532416adee15da3c9ee1073baa338a145e5..1564940d370e8f2c1a1c6df970a8966aa3380e27 100644 (file)
@@ -46,7 +46,7 @@ server is about to open sockets on the specified port.
 The IPv6 DHCP server has received a packet that it is unable to interpret.
 
 % DHCP6_PACKET_RECEIVE_FAIL error on attempt to receive packet: %1
-The IPv6 DHCP server tried to receive a packet but unexpected error
+The IPv6 DHCP server tried to receive a packet but an error
 occured during this attempt. The reason for the error is included in
 the message.
 
@@ -57,8 +57,9 @@ DHCP packet, just a type not expected by the server (e.g. it will report
 a received OFFER packet as UNKNOWN).
 
 % DHCP6_PACKET_SEND_FAIL failed to send DHCPv6 packet: %1
-This error is output if IPv6 DHCP server fails to send assembled DHCP
-message to a client. The reason fo the error is included in the message.
+This error is output if the IPv6 DHCP server fails to send an assembled
+DHCP message to a client. The reason for the error is included in the
+message.
 
 % DHCP6_PACK_FAIL failed to assemble response correctly
 This error is output if the server failed to assemble the data to be
index 581ce5f19425edce184c86ce6951cda66b306fa1..189fe90943302b0cff790ee2a19f2a29ac990150 100644 (file)
@@ -554,10 +554,7 @@ bool IfaceMgr::os_receive4(struct msghdr& m, Pkt4Ptr& pkt) {
             // broadcast. This will return broadcast address, not
             // the address we are bound to.
 
-            // IOAddress tmp(htonl(pktinfo->ipi_spec_dst.s_addr));
-            // cout << "The other addr is: " << tmp.toText() << endl;
-
-            // Perhaps we should uncomment this:
+            // XXX: Perhaps we should uncomment this:
             // to_addr = pktinfo->ipi_spec_dst;
         }
         cmsg = CMSG_NXTHDR(&m, cmsg);