summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/bridge_driver.c')
-rw-r--r--src/network/bridge_driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index f15a7a687..aa170d60a 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -108,7 +108,7 @@ static void networkReloadIptablesRules(struct network_driver *driver);
static struct network_driver *driverState = NULL;
static char *
-networkDnsmasqLeaseFileName(const char *netname)
+networkDnsmasqLeaseFileNameDefault(const char *netname)
{
char *leasefile;
@@ -117,6 +117,9 @@ networkDnsmasqLeaseFileName(const char *netname)
return leasefile;
}
+networkDnsmasqLeaseFileNameFunc networkDnsmasqLeaseFileName =
+ networkDnsmasqLeaseFileNameDefault;
+
static char *
networkRadvdPidfileBasename(const char *netname)
{