Module: sip-router
Branch: master
Commit: 4c969ea99ac8a986fd7f5a4381bcd0fca0963770
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4c969ea…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Jul 8 15:42:47 2009 +0200
core: derive default config name from -DNAME
The default config name was hard-wired to sip-router.cfg.
Reported-by: Klaus Darilion klaus.mailinglists at pernau at
---
config.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config.h b/config.h
index 0b402c8..09ec79a 100644
--- a/config.h
+++ b/config.h
@@ -44,7 +44,7 @@
#define SIP_PORT 5060
#define SIPS_PORT 5061
-#define CFG_FILE CFG_DIR "sip-router.cfg"
+#define CFG_FILE CFG_DIR NAME ".cfg"
#define TLS_PKEY_FILE "cert.pem"
#define TLS_CERT_FILE "cert.pem"