summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2017-10-18 07:39:21 +0000
committerToomas Soome <tsoome@FreeBSD.org>2017-10-18 07:39:21 +0000
commit9d3fb104c9edce9e3b6fc8ea52e60dc49d2bfdd1 (patch)
treed1b0b6bbf685ddebe280f965d1874942b05546fd /sys/boot
parent1fffcd755d9c63824656f2e8b3986cbc7fbd70d0 (diff)
downloadsrc-test2-9d3fb104c9edce9e3b6fc8ea52e60dc49d2bfdd1.tar.gz
src-test2-9d3fb104c9edce9e3b6fc8ea52e60dc49d2bfdd1.zip
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/libsa/ip.c4
1 files 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",