net: Re-check prerequisites when autoloading
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Jul 2018 00:36:40 +0000 (19:36 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:20 +0000 (14:08 -0500)
commit3855cad62342c3268465bc760e2bd7e6d0ce7f31
tree77c65135c28b0ce46511a4706ae3a8597fd696ea
parent3a66fcb7c3dd3297d7e49185a8da2cbe77ffa431
net: Re-check prerequisites when autoloading

With net autoload, we check the prerequisites for the initial command,
but the greater prerequisites when autoloading are not checked.

If we would attempt to autoload, check those prerequisites too.

If we are not expecting a serverip from the server, then don't worry
about it not being set, but don't attempt to load if it isn't.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
net/net.c