bnc#726231 OBS-URL: https://build.opensuse.org/request/show/89212 OBS-URL: https://build.opensuse.org/package/show/network/vpnc?expand=0&rev=59
27 lines
751 B
Diff
27 lines
751 B
Diff
From: Jan Engelhardt <jengelh@medozas.de>
|
|
Date: 2011-10-24 23:40:21.603981415 +0200
|
|
Upstream: tbd
|
|
|
|
vpnc-script: filter out more iproute2 fields
|
|
|
|
vpnc can throw an error message:
|
|
Error: either "to" is duplicate, or "ipid" is a garbage.
|
|
|
|
---
|
|
vpnc-script.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: vpnc/vpnc-script.in
|
|
===================================================================
|
|
--- vpnc.orig/vpnc-script.in
|
|
+++ vpnc/vpnc-script.in
|
|
@@ -116,7 +116,7 @@ destroy_tun_device() {
|
|
|
|
if [ -n "$IPROUTE" ]; then
|
|
fix_ip_get_output () {
|
|
- sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g'
|
|
+ sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g;s/ipid \S\+//g;'
|
|
}
|
|
|
|
set_vpngateway_route() {
|