[sr-dev] git:master:924125d8: nathelper: refine log statement, remove redundant info

Henning Westerholt hw at skalatan.de
Tue Dec 22 15:04:58 CET 2020


Module: kamailio
Branch: master
Commit: 924125d833998e09c9d73a382225430b9ac0ef16
URL: https://github.com/kamailio/kamailio/commit/924125d833998e09c9d73a382225430b9ac0ef16

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-12-22T13:47:15Z

nathelper: refine log statement, remove redundant info

---

Modified: src/modules/nathelper/nathelper.c

---

Diff:  https://github.com/kamailio/kamailio/commit/924125d833998e09c9d73a382225430b9ac0ef16.diff
Patch: https://github.com/kamailio/kamailio/commit/924125d833998e09c9d73a382225430b9ac0ef16.patch

---

diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c
index 12206ba152..b883b52472 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/src/modules/nathelper/nathelper.c
@@ -2154,8 +2154,7 @@ static void nh_timer(unsigned int ticks, void *timer_idx)
 		} else if(path.len && udpping_from_path) {
 			path_ip_str = extract_last_path_ip(path);
 			if(path_ip_str == NULL) {
-				LM_ERR("ERROR:nathelper:nh_timer: unable to parse path from "
-					   "location\n");
+				LM_ERR("unable to parse path from location\n");
 				continue;
 			}
 			if(get_natping_socket(path_ip_str, &path_ip, &path_port)) {




More information about the sr-dev mailing list