Closed Edu4rdSHL closed 5 years ago
Hello, @jonathanio you're totally right. Thanks for notify and do the re-work.
@Edu4rdSHL no problem. I in fact caught myself out having not run the tests with this refactor, but I've fixed the change and will release this (and a number of other changes) this afternoon.
Thanks again!
Very good, I was going to tell you about the release since that Im using the ArchLinux AUR package that use the versioned model.
Thank you for it excellent tool.
No problem. Once I've finished all the work on this I'll update the AUR package configuration and upload it there.
@Edu4rdSHL Thanks for the pull-request. I'm going to merge this, although, once done I'm going to move the command until after the
"${script_type}" ...
call towards the end of themain()
as that's what callsup()
anddown()
, so it can be done in once place. Plus, by moving it until after that call, there is less chance of the race condition where possible DNS values are cached between the flushing of the caches and the full addition of the new DNS settings on the link.