summaryrefslogtreecommitdiff
path: root/source3/web/swat.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web/swat.c')
-rw-r--r--source3/web/swat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index fceba0f1ee7..b3589568292 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -564,7 +564,7 @@ static int save_reload(int snum)
return 0;
}
iNumNonAutoPrintServices = lp_numservices();
- load_printers();
+ pcap_cache_reload(&load_printers);
return 1;
}
@@ -1547,7 +1547,7 @@ const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid)
load_config(True);
load_interfaces();
iNumNonAutoPrintServices = lp_numservices();
- load_printers();
+ pcap_cache_reload(&load_printers);
cgi_setup(get_dyn_SWATDIR(), !demo_mode);