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

(-)lib/rcscripts/net/ifconfig.sh (-1 / +2 lines)
Lines 364-370 Link Here
364
		else
364
		else
365
			# Work out if we're a host or a net if not told
365
			# Work out if we're a host or a net if not told
366
			if [[ " ${x} " != *" -net "* && " ${x} " != *" -host "* ]] ; then
366
			if [[ " ${x} " != *" -net "* && " ${x} " != *" -host "* ]] ; then
367
				y="${x%% *}"
367
				y="${x% *}"
368
				y="${y##* }"
368
				if [[ ${x} == *" netmask "* ]] ; then
369
				if [[ ${x} == *" netmask "* ]] ; then
369
					x="-net ${x}"
370
					x="-net ${x}"
370
				elif [[ ${y} == *.*.*.*/32 ]] ; then
371
				elif [[ ${y} == *.*.*.*/32 ]] ; then

Return to bug 176223