Module: kamailio
Branch: master
Commit: b1a6830c414ddcfb21fc07bc4995b756d617558e
URL:
https://github.com/kamailio/kamailio/commit/b1a6830c414ddcfb21fc07bc4995b75…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-01T09:11:12+02:00
siptrace: proper varible in log message when af is unknown
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b1a6830c414ddcfb21fc07bc4995b75…
Patch:
https://github.com/kamailio/kamailio/commit/b1a6830c414ddcfb21fc07bc4995b75…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 967e3cfbcf..987a20aed7 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -1760,7 +1760,7 @@ static int trace_send_hep3_duplicate(str *body, str *from, str *to,
struct dest_
HEP3_PACK_CHUNK_UINT16_NBO(0, 0x0007, htons(from_su.sin6.sin6_port));
HEP3_PACK_CHUNK_UINT16_NBO(0, 0x0008, htons(to_su.sin6.sin6_port));
} else {
- LM_ERR("unknown address family [%u]\n", dst.send_sock->address.af);
+ LM_ERR("unknown address family [%u]\n", from_su.s.sa_family);
goto error;
}