r13924: Split more prototypes out of include/proto.h + initial work on header
[samba.git] / source4 / scripting / ejs / smbcalls_config.c
index a69c3d81f9e2c827a13d32c64b56a5519deaed65..949dd0321af3fa21ef2736158848c5d6c3524e6a 100644 (file)
@@ -24,7 +24,8 @@
 #include "scripting/ejs/smbcalls.h"
 #include "lib/appweb/ejs/ejs.h"
 #include "param/loadparm.h"
-#include "dynconfig.h"
+#include "system/network.h"
+#include "netif/netif.h"
 
 /*
   return a list of defined services
@@ -189,7 +190,7 @@ static int ejs_lpReload(MprVarHandle eid, int argc, char **argv)
 {
        BOOL ret = lp_load();
        if (ret) {
-               load_interfaces();
+               unload_interfaces();
        }
        mpr_Return(eid, mprCreateBoolVar(ret));
        return 0;