Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151131945
D52060.id160742.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
437 B
Referenced Files
None
Subscribers
None
D52060.id160742.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D52060: Stub is_tftp when LOADER_NET_SUPPORT is not enabled
Attached
Detach File
Event Timeline
Log In to Comment