bugs.debian.org/cgi-bin/bugreport.cgi?bug=237305

[[
*** cmsg.3.patch
151c151
<      cmsg = CMSG_NXTHDR(&msgh,cmsg) {
---
>      cmsg = CMSG_NXTHDR(&msgh,cmsg)) {

]]
This commit is contained in:
Michael Kerrisk 2004-12-14 18:04:59 +00:00
parent 48dd5a6767
commit dae9ac9139
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ int received_ttl;
/* Receive auxiliary data in msgh */
for (cmsg = CMSG_FIRSTHDR(&msgh);
cmsg != NULL;
cmsg = CMSG_NXTHDR(&msgh,cmsg) {
cmsg = CMSG_NXTHDR(&msgh,cmsg)) {
if (cmsg->cmsg_level == SOL_IP
&& cmsg->cmsg_type == IP_TTL) {
ttlptr = (int *) CMSG_DATA(cmsg);