Module: sems
Branch: master
Commit: 2e5b0669279addab4590177388b0bf1838aa756e
URL: 
https://github.com/sems-server/sems/commit/2e5b0669279addab4590177388b0bf1838aa756e

Author: Szókovács Róbert <[email protected]>
Committer: Szókovács Róbert <[email protected]>
Date: 2015-07-01T12:22:09+02:00

core: provide default value for fixIface2IP()

---

Modified: core/AmConfig.h

---

Diff:  
https://github.com/sems-server/sems/commit/2e5b0669279addab4590177388b0bf1838aa756e.diff
Patch: 
https://github.com/sems-server/sems/commit/2e5b0669279addab4590177388b0bf1838aa756e.patch

---

diff --git a/core/AmConfig.h b/core/AmConfig.h
index 50fd5ee..06cdf1c 100644
--- a/core/AmConfig.h
+++ b/core/AmConfig.h
@@ -319,7 +319,7 @@ struct AmConfig
 };
 
 /** Get the PF_INET address associated with the network interface */
-string fixIface2IP(const string& dev_name, bool v6_for_sip);
+string fixIface2IP(const string& dev_name, bool v6_for_sip = false);
 
 #endif
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to