[sr-dev] git:master: - mini bug: In case of an Reply to the Options-Ping, the Flags should be of course removed.

Carsten Bock carsten at bock.info
Mon Mar 7 21:49:33 CET 2011


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

Author: Carsten Bock <carsten at bock.info>
Committer: Carsten Bock <carsten at bock.info>
Date:   Mon Mar  7 21:48:20 2011 +0100

- mini bug: In case of an Reply to the Options-Ping, the Flags should be of course removed.

---

 modules_k/dispatcher/dispatch.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules_k/dispatcher/dispatch.c b/modules_k/dispatcher/dispatch.c
index f957880..93274f7 100644
--- a/modules_k/dispatcher/dispatch.c
+++ b/modules_k/dispatcher/dispatch.c
@@ -2071,6 +2071,7 @@ int ds_set_state(int group, str *address, int state, int type)
 							" to active: It is already administratively deactivated!\n");
 					return 0;
 				}
+				type = 0;
 			}
 			
 			if(type)




More information about the sr-dev mailing list