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:
tsoome 2017-10-18 07:39:21 +00:00
parent b90468ae70
commit d06c606177

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