[sr-dev] git:master: core:forward.c Small typo regarding tested socket

Marius Zbihlei marius.zbihlei at 1and1.ro
Tue Feb 2 11:58:00 CET 2010


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

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Tue Feb  2 11:23:59 2010 +0200

core:forward.c Small typo regarding tested socket

---

 forward.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/forward.c b/forward.c
index 17094dd..96d5ca1 100644
--- a/forward.c
+++ b/forward.c
@@ -173,7 +173,7 @@ retry:
 				sock_inet=-1;
 			}
 #ifdef USE_IPV6
-			if (sock_inet>=0){
+			if (sock_inet6>=0){
 				close(sock_inet6);
 				sock_inet6=-1;
 			}




More information about the sr-dev mailing list