diff options
Diffstat (limited to 'source/lib/wins_srv.c')
-rw-r--r-- | source/lib/wins_srv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/lib/wins_srv.c b/source/lib/wins_srv.c index c139f427ca8..b82e04e13cc 100644 --- a/source/lib/wins_srv.c +++ b/source/lib/wins_srv.c @@ -22,8 +22,6 @@ #include "includes.h" -extern struct in_addr loopback_ip; - /* This is pretty much a complete rewrite of the earlier code. The main aim of the rewrite is to add support for having multiple wins server @@ -282,6 +280,7 @@ struct in_addr wins_srv_ip_tag(const char *tag, struct in_addr src_ip) /* if we are a wins server then we always just talk to ourselves */ if (lp_wins_support()) { + extern struct in_addr loopback_ip; return loopback_ip; } |