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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Mon Jul 15 23:38:25 2013 +0200

ipops: reset address types for new dns queries

---

 modules/ipops/ipops_pv.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/ipops/ipops_pv.c b/modules/ipops/ipops_pv.c
index e1b38e5..08be1fe 100644
--- a/modules/ipops/ipops_pv.c
+++ b/modules/ipops/ipops_pv.c
@@ -375,6 +375,8 @@ int dns_update_pv(str *hostname, str *name)
 
        /* reset the counter */
        dr->count = 0;
+       dr->ipv4  = 0;
+       dr->ipv6  = 0;
 
        strncpy(dr->hostname, hostname->s, hostname->len);
        dr->hostname[hostname->len] = '\0';


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to