Skip to content
Snippets Groups Projects
Commit 5b8a736f authored by Guillaume Valadon's avatar Guillaume Valadon Committed by GitHub
Browse files

Merge pull request #768 from p-l-/fix-leftover-variables

Some variables were not deleted and remained in the namespace
parents 8510cbbf ba69c481
No related branches found
No related tags found
No related merge requests found
......@@ -271,10 +271,7 @@ class Route6:
return res[0][1]
conf.route6 = Route6()
_res = conf.route6.route("::/0")
if _res:
iff, gw, addr = _res
conf.iface6 = iff
del(_res)
try:
conf.iface6 = conf.route6.route("::/0")[0]
except:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment