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:
parent
b90468ae70
commit
d06c606177
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user