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

(-)networking/ifenslave.orig (-1 / +1 lines)
Lines 520-526 Link Here
520
#ifdef WHY_BOTHER
520
#ifdef WHY_BOTHER
521
	/* Neither -c[hange] nor -d[etach] -> it's "enslave" then;
521
	/* Neither -c[hange] nor -d[etach] -> it's "enslave" then;
522
	 * and -f[orce] is not there too. Check that it's ethernet. */
522
	 * and -f[orce] is not there too. Check that it's ethernet. */
523
	if (!(opt & (OPT_d|OPT_c|OPT_f)) {
523
	if (!(opt & (OPT_d|OPT_c|OPT_f))) {
524
		/* The family '1' is ARPHRD_ETHER for ethernet. */
524
		/* The family '1' is ARPHRD_ETHER for ethernet. */
525
		if (master.hwaddr.ifr_hwaddr.sa_family != 1) {
525
		if (master.hwaddr.ifr_hwaddr.sa_family != 1) {
526
			bb_error_msg_and_die(
526
			bb_error_msg_and_die(

Return to bug 346725