diff --git a/app/modules/bma/lib/network.ts b/app/modules/bma/lib/network.ts
index 1c936f08608e011d124bbeffc6a6b2e5ec10b1b3..cd88c06ce1a0399618b38dd11e71299ff9e7a984 100644
--- a/app/modules/bma/lib/network.ts
+++ b/app/modules/bma/lib/network.ts
@@ -23,7 +23,7 @@ export interface NetworkInterface {
 
 export const Network = {
 
-  getBestLocalIPv4: getBestLocalIPv4,
+  getBestLocalIPv4,
   getBestLocalIPv6: getBestLocalIPv6,
 
   listInterfaces: listInterfaces,
@@ -356,7 +356,7 @@ async function upnpConf (noupnp:boolean, logger:any) {
   await Q.nbind(client.portMapping, client)({
     public: publicPort,
     private: privatePort,
-    ttl: 120
+    ttl: BMAConstants.UPNP_TTL
   });
   const privateIP = await Q.Promise((resolve:any, reject:any) => {
     client.findGateway((err:any, res:any, localIP:any) => {