Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 503914 | Differences between
and this patch

Collapse All | Expand All

(-)a/rarpd.c (-2 / +2 lines)
Lines 30-35 Link Here
30
#include <sys/ioctl.h>
30
#include <sys/ioctl.h>
31
#include <sys/socket.h>
31
#include <sys/socket.h>
32
32
33
33
int do_reload = 1;
34
int do_reload = 1;
34
35
35
int debug;
36
int debug;
Lines 99-105 void load_if(void) Link Here
99
	}
100
	}
100
101
101
	ifc.ifc_len = sizeof ibuf;
102
	ifc.ifc_len = sizeof ibuf;
102
	ifc.ifc_buf = (caddr_t)ibuf;
103
	ifc.ifc_buf = (char *)ibuf;
103
	if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
104
	if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
104
	    ifc.ifc_len < (int)sizeof(struct ifreq)) {
105
	    ifc.ifc_len < (int)sizeof(struct ifreq)) {
105
		syslog(LOG_ERR, "SIOCGIFCONF: %m");
106
		syslog(LOG_ERR, "SIOCGIFCONF: %m");
106
- 

Return to bug 503914