Merge pull request #7 from hramasub/flush-and-restart-on-set-lan

Flush and restart on set lan