Correction to the commit message: actually the report was done by Klaus
Darilion -- I mixed the senders of last emails on mailing lists.
Cheers,
Daniel
On 10/31/11 5:19 PM, Daniel-Constantin Mierla wrote:
Module: sip-router
Branch: master
Commit: 1b58b26b7ccf7b2c01185a22ad076a3655e43664
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b58b26…
Author: Daniel-Constantin Mierla<miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla<miconda(a)gmail.com>
Date: Mon Oct 31 17:18:11 2011 +0100
utils/sercmd: set SRNAME at compile time
- it is set to sip server name (e.g., ser, kamailio)
- it is used to build the default path to ctl file used to communicate
with sip server via ctl module
- reported by Henning Westerholt
---
utils/sercmd/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/sercmd/Makefile b/utils/sercmd/Makefile
index bc03b74..2cb406a 100644
--- a/utils/sercmd/Makefile
+++ b/utils/sercmd/Makefile
@@ -22,7 +22,7 @@ endif #ifneq (,$(MAKECMDGOALS))
# erase common DEFS (not needed)
C_DEFS:=
-DEFS:= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"'
\
+DEFS:= -DNAME='"$(NAME)"' -DSRNAME='"$(MAIN_NAME)"'
-DVERSION='"$(RELEASE)"' \
$(filter -D%HAVE -DARCH% -DOS% -D__CPU% -D__OS%, $(DEFS))
# use proper libs (we can't rely on LIBS value since we might be called
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla --
http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin:
http://asipto.com/u/kat
http://linkedin.com/in/miconda --
http://twitter.com/miconda