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

Collapse All | Expand All

(-)openvpn-2.2.2.orig/misc.h (-1 / +1 lines)
Lines 341-347 Link Here
341
#endif
341
#endif
342
342
343
/*
343
/*
344
 * /bin/ip path, may be overridden
344
 * /sbin/ip path, may be overridden
345
 */
345
 */
346
#ifdef CONFIG_FEATURE_IPROUTE
346
#ifdef CONFIG_FEATURE_IPROUTE
347
extern const char *iproute_path;
347
extern const char *iproute_path;
(-)openvpn-2.2.2.orig/t_client.sh (-4 / +4 lines)
Lines 80-91 Link Here
80
get_ifconfig_route()
80
get_ifconfig_route()
81
{
81
{
82
    # linux / iproute2? (-> if configure got a path)
82
    # linux / iproute2? (-> if configure got a path)
83
    if [ "/bin/ip" != "ip" ]
83
    if [ "/sbin/ip" != "ip" ]
84
    then
84
    then
85
	echo "-- linux iproute2 --"
85
	echo "-- linux iproute2 --"
86
	/bin/ip addr show     | grep -v valid_lft
86
	/sbin/ip addr show     | grep -v valid_lft
87
	/bin/ip route show
87
	/sbin/ip route show
88
	/bin/ip -6 route show | sed -e 's/expires [0-9]*sec //'
88
	/sbin/ip -6 route show | sed -e 's/expires [0-9]*sec //'
89
	return
89
	return
90
    fi
90
    fi
91
91

Return to bug 466908