mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
loader.efi: Fix LOADER_NET_SUPPORT=no builds
We include too many references to networking things in the
non-networking build for loader.efi. Ifdef out netserver command when we
are disabling network support to resolve.
PR: 277528
MFC After: 2 days
Reviewed by: imp
(cherry picked from commit 47ef2a1310)
This commit is contained in:
parent
f2103edaf5
commit
adce5eaab9
1 changed files with 2 additions and 0 deletions
|
|
@ -1755,6 +1755,7 @@ command_chain(int argc, char *argv[])
|
|||
|
||||
COMMAND_SET(chain, "chain", "chain load file", command_chain);
|
||||
|
||||
#if defined(LOADER_NET_SUPPORT)
|
||||
extern struct in_addr servip;
|
||||
static int
|
||||
command_netserver(int argc, char *argv[])
|
||||
|
|
@ -1785,3 +1786,4 @@ command_netserver(int argc, char *argv[])
|
|||
|
||||
COMMAND_SET(netserver, "netserver", "change or display netserver URI",
|
||||
command_netserver);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue