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

Collapse All | Expand All

(-)openrc-0.11.8.orig/net/ifconfig.sh.Linux.in (-3 / +5 lines)
Lines 208-216 Link Here
208
		set -- "${one}" "${two}" gw "$@"
208
		set -- "${one}" "${two}" gw "$@"
209
	fi
209
	fi
210
210
211
	case "$@" in
211
	if [ "$1" = "-net" -o "$1" = "-host" ]; then
212
		*:*|default*) [ "$1" = "-net" -o "$1" = "-host" ] && shift;;
212
		if [ "${2##*:}" != "$2" ]; then shift
213
	esac
213
		elif [ "$2" = "default" ]; then shift
214
		fi
215
	fi
214
216
215
	route ${family} add "$@" dev "${IFACE}"
217
	route ${family} add "$@" dev "${IFACE}"
216
}
218
}

Return to bug 442594