From 9d3fb104c9edce9e3b6fc8ea52e60dc49d2bfdd1 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 18 Oct 2017 07:39:21 +0000 Subject: [PATCH] libsa/ip.c: misplaced comment, ip_v is half char, not ip_p The comment should be at previous line. Reported by: Dan McDonald --- sys/boot/libsa/ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/libsa/ip.c b/sys/boot/libsa/ip.c index 541cabc4bdd8..c0a9f3c90f7f 100644 --- a/sys/boot/libsa/ip.c +++ b/sys/boot/libsa/ip.c @@ -229,8 +229,8 @@ readipv4(struct iodesc *d, void **pkt, void **payload, time_t tleft, } /* Check ip header */ - if (ip->ip_v != IPVERSION || - ip->ip_p != proto) { /* half char */ + if (ip->ip_v != IPVERSION || /* half char */ + ip->ip_p != proto) { #ifdef NET_DEBUG if (debug) { printf("readip: IP version or proto. ip_v=%d ip_p=%d\n",