Update routerRestart.py

Fixed bug that was causing script to fail if router is on non-default IP address.