Revision 9d8a82ea net_helpers.c

View differences:

net_helpers.c
95 95
		char dst[32];
96 96
		char ifc[IFNAMSIZ];
97 97

  
98
		fgets(line, 127, r);
98 99
		if (feof(r)) break;
99 100
		if ((sscanf(line, "%s\t%s", iface, dst) == 2) && !strcpy(dst, "00000000")) {
100 101
			strcpy(iface, ifc);

Also available in: Unified diff