From 1bb6191ba20c1674b55043392ad78227cc3a5c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= Date: Sun, 17 Dec 2017 21:48:00 +0100 Subject: [PATCH 1/2] Fix grammar (allow requires an object) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Wágner --- libknet/libknet.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libknet/libknet.h b/libknet/libknet.h index 705440eb2..104d148c8 100644 --- a/libknet/libknet.h +++ b/libknet/libknet.h @@ -358,9 +358,9 @@ ssize_t knet_send(knet_handle_t knet_h, * to another host. * knet_send_sync bypasses the whole TX async layer and delivers * data directly to the link layer, and returns errors accordingly. - * knet_send_sync allows to send only one packet to one host at - * a time. It does NOT support multiple destinations or multicast - * packets. Decision is still based on dst_host_filter_fn. + * knet_send_sync sends only one packet to one host at a time. + * It does NOT support multiple destinations or multicast packets. + * Decision is still based on dst_host_filter_fn. * * @return * knet_send_sync returns 0 on success and -1 on error. From 04dfa99158957624f35134b40b2b3c00d53414b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= Date: Sun, 17 Dec 2017 21:49:20 +0100 Subject: [PATCH 2/2] Fix typo and capitalization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Wágner --- libknet/threads_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libknet/threads_tx.c b/libknet/threads_tx.c index d065502d0..1d7703a1c 100644 --- a/libknet/threads_tx.c +++ b/libknet/threads_tx.c @@ -315,7 +315,7 @@ static int _parse_recv_from_sock(knet_handle_t knet_h, size_t inlen, int8_t chan log_debug(knet_h, KNET_SUB_TX, "Received data packet but data MTU is still unknown." " Packet might not be delivered." - " Assuming mininum IPv4 mtu (%d)", + " Assuming minimum IPv4 MTU (%d)", KNET_PMTUD_MIN_MTU_V4); temp_data_mtu = KNET_PMTUD_MIN_MTU_V4; } else {