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.3.0.orig/src/openvpn/misc.h (-1 / +1 lines)
Lines 308-314 Link Here
308
#endif
308
#endif
309
309
310
/*
310
/*
311
 * /sbin/ip path, may be overridden
311
 * /bin/ip path, may be overridden
312
 */
312
 */
313
#ifdef ENABLE_IPROUTE
313
#ifdef ENABLE_IPROUTE
314
extern const char *iproute_path;
314
extern const char *iproute_path;
(-)openvpn-2.3.0.orig/tests/t_client.sh (-4 / +4 lines)
Lines 86-97 Link Here
86
get_ifconfig_route()
86
get_ifconfig_route()
87
{
87
{
88
    # linux / iproute2? (-> if configure got a path)
88
    # linux / iproute2? (-> if configure got a path)
89
    if [ -n "/sbin/ip" ]
89
    if [ -n "/bin/ip" ]
90
    then
90
    then
91
	echo "-- linux iproute2 --"
91
	echo "-- linux iproute2 --"
92
	/sbin/ip addr show     | grep -v valid_lft
92
	/bin/ip addr show     | grep -v valid_lft
93
	/sbin/ip route show
93
	/bin/ip route show
94
	/sbin/ip -o -6 route show | grep -v ' cache' | sed -e 's/expires [0-9]*sec//'
94
	/bin/ip -o -6 route show | grep -v ' cache' | sed -e 's/expires [0-9]*sec//'
95
	return
95
	return
96
    fi
96
    fi
97
97

Return to bug 466908