Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 172450
Collapse All | Expand All

(-)src/knemod/backends/sysbackend.cpp.orig (+2 lines)
Lines 262-267 Link Here
262
            in.s_addr = regExp.cap( 1 ).toULong( &ok, 16 );
262
            in.s_addr = regExp.cap( 1 ).toULong( &ok, 16 );
263
            data.defaultGateway = inet_ntoa( in );
263
            data.defaultGateway = inet_ntoa( in );
264
        }
264
        }
265
        routeFile.close();
265
    }
266
    }
266
267
267
    // use ioctls for the rest
268
    // use ioctls for the rest
Lines 289-294 Link Here
289
        {
289
        {
290
            data.subnetMask = inet_ntoa(((struct sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
290
            data.subnetMask = inet_ntoa(((struct sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
291
        }
291
        }
292
	close(fd);
292
    }
293
    }
293
}
294
}
294
295

Return to bug 172450