netboot function was broken.

There were 2 errors with the setNetboot function.