[sr-dev] git:master: core: restored USER_AGENT and SERVER_HDR defines

admin at sip-router.org admin at sip-router.org
Sat Dec 8 13:47:08 CET 2012


Module: sip-router
Branch: master
Commit: ca7b18825ed478b2d23a092f681939a233183003
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ca7b18825ed478b2d23a092f681939a233183003

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Sat Dec  8 14:44:38 2012 +0200

core: restored USER_AGENT and SERVER_HDR defines

- they were changed by accident by previous commit

---

 config.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.h b/config.h
index dddbab3..6329f7b 100644
--- a/config.h
+++ b/config.h
@@ -87,11 +87,11 @@
 #define CONTENT_LENGTH "Content-Length: "
 #define CONTENT_LENGTH_LEN (sizeof(CONTENT_LENGTH)-1)
 
-#define USER_AGENT "User-Agent: OpenXg SIP Proxy "\
+#define USER_AGENT "User-Agent: " NAME \
 		" (" VERSION " (" ARCH "/" OS_QUOTED "))"
 #define USER_AGENT_LEN (sizeof(USER_AGENT)-1)
 
-#define SERVER_HDR "Server: OpenXg SIP Proxy "\
+#define SERVER_HDR "Server: " NAME \
 		" (" VERSION " (" ARCH "/" OS_QUOTED "))"
 #define SERVER_HDR_LEN (sizeof(SERVER_HDR)-1)
 




More information about the sr-dev mailing list