summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-29 22:11:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:13 -0500
commit520e2258c9949f9129a2e124035c0200c0c59b39 (patch)
tree121f3ed3a61eed2259d5a82ffd132eb9b6562ab8 /source4/scripting
parent18fa5ea9ef2d9a20d076790123c131d2dbdc9c22 (diff)
downloadsamba-520e2258c9949f9129a2e124035c0200c0c59b39.tar.gz
samba-520e2258c9949f9129a2e124035c0200c0c59b39.tar.bz2
samba-520e2258c9949f9129a2e124035c0200c0c59b39.zip
r7082: Call load_interfaces() in smbscript initialisation.
(This used to be commit 54051bf8bbb18653adafb37cc6181617ca60b781)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/ejs/smbscript.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c
index a15fce57b0..754a49ccb1 100644
--- a/source4/scripting/ejs/smbscript.c
+++ b/source4/scripting/ejs/smbscript.c
@@ -54,6 +54,8 @@ void ejs_exception(const char *reason)
exit(1);
}
+ load_interfaces();
+
mprSetCtx(mem_ctx);
if (ejsOpen(NULL, NULL, NULL) != 0) {