summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/interface.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index 40fcdfa6e2..3a532140b3 100644
--- a/source3/lib/interface.c
+++ b/source3/lib/interface.c
@@ -33,7 +33,6 @@ static BOOL got_bcast=False;
static BOOL got_nmask=False;
struct interface *local_interfaces = NULL;
-struct interface *remote_interfaces = NULL;
struct interface *last_iface;
@@ -349,12 +348,7 @@ load the remote and local interfaces
void load_interfaces(void)
{
/* add the machine's interfaces to local interface structure*/
- interpret_interfaces(lp_interfaces (), &local_interfaces,
- "interface");
-
- /* add all subnets to remote interfaces structure */
- interpret_interfaces(lp_remote_interfaces(), &remote_interfaces,
- "remote subnet");
+ interpret_interfaces(lp_interfaces(), &local_interfaces,"interface");
}