Page MenuHomeFreeBSD

D52060.id160742.diff
No OneTemporary

D52060.id160742.diff

diff --git a/stand/common/misc.c b/stand/common/misc.c
--- a/stand/common/misc.c
+++ b/stand/common/misc.c
@@ -220,3 +220,16 @@
env_setenv("loaddev", EV_VOLATILE | EV_NOHOOK, devname, env_noset,
env_nounset);
}
+
+#ifndef LOADER_NET_SUPPORT
+/*
+ * This api is normally provided by dev_net.c
+ * This stub keeps libsa happy when LOADER_NET_SUPPORT
+ * is not enabled.
+ */
+bool
+is_tftp(void)
+{
+ return false;
+}
+#endif

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 7:28 AM (6 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30986473
Default Alt Text
D52060.id160742.diff (437 B)

Event Timeline