summaryrefslogtreecommitdiffstats
path: root/source/web/swat.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-01-25 21:58:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:15 -0500
commit417ef5bffaefee698cbea4b06aff691f01ac56d1 (patch)
tree6f5b47c8586034532a7aacbc12495571bda7e2ee /source/web/swat.c
parent80c0625667f28253e9b6f1ac1a5c88aa8261f9b0 (diff)
downloadsamba-417ef5bffaefee698cbea4b06aff691f01ac56d1.tar.gz
samba-417ef5bffaefee698cbea4b06aff691f01ac56d1.tar.xz
samba-417ef5bffaefee698cbea4b06aff691f01ac56d1.zip
r13140: Fix swat - make sure it can list running services (ensure loopback_ip)
is defined. Jerry - this needs to be in 3.0.21b. Jeremy.
Diffstat (limited to 'source/web/swat.c')
-rw-r--r--source/web/swat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/web/swat.c b/source/web/swat.c
index 3806291a6ad..372d473bdb5 100644
--- a/source/web/swat.c
+++ b/source/web/swat.c
@@ -1373,6 +1373,7 @@ static void printers_page(void)
setup_logging(argv[0],False);
load_config(True);
+ load_interfaces();
iNumNonAutoPrintServices = lp_numservices();
load_printers();