View | Details | Raw Unified | Return to bug 165700
Collapse All | Expand All

(-)lib/libstand/bootp.c (-9 lines)
Lines 223-237 Link Here
223
		printf("'native netmask' is %s\n", intoa(nmask));
223
		printf("'native netmask' is %s\n", intoa(nmask));
224
#endif
224
#endif
225
225
226
	/* Check subnet mask against net mask; toss if bogus */
227
	if ((nmask & smask) != nmask) {
228
#ifdef BOOTP_DEBUG
229
		if (debug)
230
			printf("subnet mask (%s) bad\n", intoa(smask));
231
#endif
232
		smask = 0;
233
	}
234
235
	/* Get subnet (or natural net) mask */
226
	/* Get subnet (or natural net) mask */
236
	netmask = nmask;
227
	netmask = nmask;
237
	if (smask)
228
	if (smask)

Return to bug 165700