Commit 2c458ec3 authored by Nathan Dorfman's avatar Nathan Dorfman

ipsec: it's not an error if we already know %defaultroute

parent 8c35a9a8
......@@ -902,7 +902,7 @@ nm_l2tp_start_ipsec(NML2tpPlugin *plugin,
sys += system("test -e /var/run/pluto/ipsec.info && . /var/run/pluto/ipsec.info;"
"PATH=/usr/local/sbin:/usr/sbin:/sbin; export PATH;"
"[ \"x$defaultrouteaddr\" = \"x\" ] && ipsec setup restart");
"if [ \"x$defaultrouteaddr\" = \"x\" ]; then ipsec setup restart; fi");
sys += system("PATH=/usr/local/sbin:/usr/sbin:/sbin ipsec whack"
" --listen");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment