Control: tags -1 patch
I've attached the patch I've been using for a year now.
It corresponds to the same change as the one I proposed in the
following merge request:
https://gitlab.com/openconnect/vpnc-scripts/-/merge_requests/79
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
--- a/vpnc-script
+++ b/vpnc-script
@@ -299,7 +299,7 @@
}
del_vpngateway_route() {
- $IPROUTE route $route_syntax_del "$VPNGATEWAY"
+ while $IPROUTE route $route_syntax_del "$VPNGATEWAY"
2>/dev/null ; do :; done
$IPROUTE route flush cache 2>/dev/null
}