summaryrefslogtreecommitdiffstats
path: root/src/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c
index 3a617be..b678ba5 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -75,6 +75,7 @@ void fastd_shell_env_free(fastd_shell_env_t *env) {
free(env);
}
+/** Adds an interface name to a shell environment */
void fastd_shell_env_set_iface(fastd_shell_env_t *env, const fastd_iface_t *iface) {
if (iface)
fastd_shell_env_set(env, "INTERFACE", iface->name);