summaryrefslogtreecommitdiff
path: root/source3/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
commit1a423304cc1c17a28065a95e3bac1aa9403bd630 (patch)
tree918a7f4e65184773a0e108a361d843c2b932121b /source3/web/swat.c
parent77965f6cf6997a6af7fe3cb225b3fb5ced9acd4a (diff)
downloadsamba-1a423304cc1c17a28065a95e3bac1aa9403bd630.tar.gz
samba-1a423304cc1c17a28065a95e3bac1aa9403bd630.tar.bz2
samba-1a423304cc1c17a28065a95e3bac1aa9403bd630.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. (This used to be commit 417ef5bffaefee698cbea4b06aff691f01ac56d1)
Diffstat (limited to 'source3/web/swat.c')
-rw-r--r--source3/web/swat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 3806291a6a..372d473bdb 100644
--- a/source3/web/swat.c
+++ b/source3/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();