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

(-)net/iproute2.sh (-2 / +2 lines)
Lines 198-204 iproute2_pre_start() Link Here
198
		metric=1000
198
		metric=1000
199
199
200
		ebegin "Creating tunnel ${IFVAR}"
200
		ebegin "Creating tunnel ${IFVAR}"
201
		ip tunnel add ${tunnel} name dev "${IFACE}"
201
		ip tunnel add ${tunnel} name "${IFACE}"
202
		eend $? || return 1
202
		eend $? || return 1
203
		_up	
203
		_up	
204
	fi
204
	fi
Lines 234-240 iproute2_post_stop() Link Here
234
	if [ "${IFACE}" != "sit0" ]; then
234
	if [ "${IFACE}" != "sit0" ]; then
235
		if [ -n "$(ip tunnel show "${IFACE}" 2>/dev/null)" ]; then
235
		if [ -n "$(ip tunnel show "${IFACE}" 2>/dev/null)" ]; then
236
			ebegin "Destroying tunnel ${IFACE}"
236
			ebegin "Destroying tunnel ${IFACE}"
237
			ip tunnel del dev "${IFACE}"
237
			ip tunnel del "${IFACE}"
238
			eend $?
238
			eend $?
239
		fi
239
		fi
240
	fi
240
	fi

Return to bug 222729