libsa/ip.c: misplaced comment, ip_v is half char, not ip_p

The comment should be at previous line.

Reported by:	Dan McDonald
This commit is contained in:
Toomas Soome 2017-10-18 07:39:21 +00:00
parent 1fffcd755d
commit 9d3fb104c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324717

View File

@ -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",