net: Consolidate the parsing of bootfile
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Jul 2018 00:36:43 +0000 (19:36 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:20 +0000 (14:08 -0500)
commit6ab12830921c1de4eb90a0d471bf5f4677af734c
treee843a02a84a0797ab7d0dbb7e4e4cc8d3cb0a3a9
parentf43308fa0c7834d9707a2c212591275d1e095e50
net: Consolidate the parsing of bootfile

The same basic parsing was implemented in tftp and nfs, so add a helper
function to do the work once.

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